{% extends "admin/change_form.html" %} {% load i18n iadmin_modify adminmedia %} {% block extrahead %}{{ block.super }} {% if inline_admin_formsets %} {% endif %} {% endblock %} {% block content %} {% block object-tools %} {% if change %}{% if not is_popup %} {% endif %}{% endif %} {% endblock %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} {% if save_on_top %}{% submit_row %}{% endif %} {% if errors %}

{% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{{ adminform.form.non_field_errors }} {% endif %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% block after_field_sets %}{% endblock %} {% if is_popup %}
{% endif %} {% if inline_admin_formsets %}
{% for inline_admin_formset in inline_admin_formsets %}
{% include inline_admin_formset.opts.template %}
{% endfor %}
{% endif %} {% if is_popup %}
{% endif %} {% block after_related_objects %}{% endblock %} {% submit_row %} {% if adminform and add %} {% endif %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}