{% extends "touchtechnology/admin/edit.html" %} {% load common %} {% load i18n %} {% block tab-panes %}
{% spaceless %}

{{ model|type|capfirst }}

{% endspaceless %}
{% block form-fieldset %}

{% blocktrans %} Use this interface to build divisions from JSON. Each form accepts a complete DivisionStructure JSON object that will be validated and used to create teams, stages, pools, and matches. {% endblocktrans %}

{% trans "Note:" %} {% trans "All divisions will be created within a single transaction - if any division fails to build, all changes will be rolled back." %}

{{ formset.management_form }}
{% for form in formset %}
{% if not forloop.first %}
{% endif %} {% for f in form %}
{{ f }} {% if f.help_text %}

{{ f.help_text }}

{% endif %} {% if f.errors %}
{% for error in f.errors %} {{ error }} {% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock form-fieldset %}
 {% trans "Cancel" %}
{% endblock %} {% block extrajs %} {{ block.super }} {% endblock %}