{% extends "base.html" %} {% load static debate_tags add_field_css i18n %} {% block head-title %}👯 {% trans 'Add Teams' context 'page title' %} {% blocktrans trimmed with step=wizard.steps.step1 count=wizard.steps.count %}(Step {{ step }} of {{ count }}){% endblocktrans %}{% endblock %} {% block page-title %}{% trans 'Add Teams' context 'page title' %}{% endblock %} {% block content %}
{% csrf_token %} {{ wizard.management_form }} {{ wizard.form.management_form }}
{% if wizard.form.errors %} {% include "components/form-errors.html" with errors=wizard.form.non_form_errors %} {% endif %} {% regroup wizard.form.forms by institution_for_display as forms_by_institution %} {% for forms in forms_by_institution %}

{% if forms.grouper.name %} {% blocktrans trimmed with institution=forms.grouper.name %} Teams for {{ institution }} {% endblocktrans %} {% else %} {% trans "Unaffiliated Teams" %} {% endif %}

{% for form in forms.list %} {% include "components/form-main.html" with double=True %} {% endfor %}
{% endfor %}
{% trans "Save All Teams" as title %} {% include "components/form-submit.html" %}
{% endblock content %}