{% extends "admin/change_form.html" %} {% load actions admin_modify i18n static %} {% block extrahead %}{{ block.super }} {% endblock extrahead %} {% block breadcrumbs %}{% if not is_popup %} {% endif %}{% endblock breadcrumbs %} {% block content %} {% if formset.errors %}

{% if formset.errors|length == 1 %}{% translate "Please correct the error below." %}{% else %}{% translate "Please correct the errors below." %}{% endif %}

{{ adminform.form.non_field_errors }} {% endif %}
{% csrf_token %} {{ formset.non_form_errors.as_ul }}
{% for form in formset.forms %} {% if forloop.first %} {% for field in form.visible_fields %} {% endfor %} {% endif %} {% for field in form.visible_fields %} {% endfor %} {% endfor %}
{% if forloop.first %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endif %} {{ field.errors.as_ul }} {{ field }}
{{ formset.management_form }} {% for hidden in actionform.hidden_fields %} {{ hidden }} {% endfor %}
{% endblock content %}