{% extends "base.html" %}
{% load static %}

{% block title %}Container: {{ container.named_id }}{% endblock %}

{% block content %}
<h1>Print Container Label</h1>
<!-- Action buttons -->
<div class="row">

  <div class="col-sm-12">
    Label created for container {{ container.named_id }} of type {{ container.container_type.named_id }}:
    <br />
    <img  class="img-fluid shadow p-3 mb-5 bg-body rounded" src="{{ barcode_img }}">
  </div>
  <div class="col-sm-12">
    <form method="gest">
      {% csrf_token %}
      <label for="num_copies">Number of copies:</label><input type="number" id="num_copies" size="2" min="1" max="8" name="num_copies" value="1">
      <input type="submit" class="btn btn-primary" value="Print">
    </form>
  </div>
  <div class="col-sm-12">
    <!--
    {% if logs %}
      {% for msg in logs %}
        {{ msg }}<br />
      {% endfor %}
    {% else %}
      no messages
    {% endif %}
    -->
  </div>
</div>
<!-- End Action buttons -->

</div>
{% endblock content %}