{# -*- engine:django -*- #} {% extends "core/base.html" %} {% load material_form i18n any_js django_tables2 static %} {% block extra_head %} {{ form.media.css }} {% include_css "select2-materialize" %} {% endblock %} {% block browser_title %}{% blocktrans %}Issue card(s){% endblocktrans %}{% endblock %} {% block page_title %}{% blocktrans %}Issue card(s){% endblocktrans %}{% endblock %} {% block content %} {% include_js "select2-materialize" %}
{% if wizard.steps.index == 0 %}
{% blocktrans %} Please select the persons and/or the groups to whom you want to issue new cards. After clicking on 'Next', you will be able to check whether the data of the persons are complete and include everything needed for the cards. {% endblocktrans %}
{% else %}
{% blocktrans %} In the following table you can see all selected persons and the related data needed for the cards. Please select the persons to whom you want to issue new cards. {% endblocktrans %}
{% endif %}
{% csrf_token %} {{ wizard.management_form }} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {% form form=form %}{% endform %} {{ form.media.js }} {% endfor %} {% else %} {% form form=wizard.form %}{% endform %} {{ form.media.js }} {% endif %} {% if persons_table %} {{ wizard.form.selected_objects.errors }} {% render_table persons_table %} {% endif %}
{% if wizard.steps.prev %} {% endif %} {% if wizard.steps.count|add:"-1" == wizard.steps.index %} {% else %} {% endif %} clear {% trans "Cancel" %}
{% endblock %}