{# -*- engine:django -*- #} {% extends "core/base.html" %} {% load material_form i18n any_js static %} {% block browser_title %}{% blocktrans %}Edit seating plan{% endblocktrans %}{% endblock %} {% block page_title %} {% trans "Back" %} {% blocktrans %}Edit seating plan{% endblocktrans %} {% endblock %} {% block extra_head %} {{ form.media.css }} {% include_css "select2-materialize" %} {% endblock %} {% block content %}
{% csrf_token %} {% form form=form %}{% endform %} {{ formset.management_form }} {% for form in formset %} {{ form.as_p }} {% endfor %} {% include "core/partials/save_button.html" %}
{% trans "Available persons" %}
{% for seat in seats_without_position %} {% include "stoelindeling/partials/seat.html" with seat=seat %} {% endfor %}
{% trans "Seating plan" %}
{% for x, x_items in start_grid.items %}
{% for y, seat in x_items.items %}
{% if seat %} {% include "stoelindeling/partials/seat.html" with seat=seat %} {% endif %}
{% endfor %}
{% endfor %}
{% include_js "select2-materialize" %} {{ form.media.js }} {% include_js "interactjs" %} {% endblock %}