{% extends "modal/form.html" %} {% load layout %} {% load static %} {% block modal_assets %} {{ block.super }} {% endblock %} {% block modal_styles %}modal-lg{% endblock %} {% block modal_title %}   {{ shipment }} | Sample Seat Selection{% endblock %} {% block modal_body %}
{% for container in shipment.containers.all %}

{{ container.name }}

{% if container.kind.envelope == 'list' %}
{% for group in shipment.groups_by_priority %} {% with container|container_samples:group as num_samples %}
 
{% endwith %} {% endfor %}
{% else %}
{% endif %}
{% endfor %}
GROUPS
{% for group in shipment.groups_by_priority %} {{ group.name }} {% endfor %}
{% endblock %} {% block modal_footer %}
Click on a group to select it, then click the locations of the corresponding samples in each container. Click previously selected samples to remove them.
{% endblock %} {% block modal_scripts %} {% endblock %}