{% extends "admin/base_site" %} {% load i18n %} {% load admin_modify %} {% load adminmedia %} {% block extrahead %} {% for js in bound_manipulator.javascript_imports %}{% include_admin_script js %}{% endfor %} {% endblock %} {% block coltype %}{{ bound_manipulator.coltype }}{% endblock %} {% block bodyclass %}{{app_label}}-{{bound_manipulator.object_name.lower}} change-form{% endblock %} {% block breadcrumbs %}{% if not is_popup %} {% endif %}{% endblock %} {% block content %}
{% if change %}{% if not is_popup %} {% endif %}{% endif %}
{% block form_top %}{%endblock%} {% if is_popup %}{% endif %} {% if bound_manipulator.save_on_top %}{% submit_row bound_manipulator %}{% endif %} {% if form.error_dict %}

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

{% endif %} {% for bound_field_set in bound_manipulator.bound_field_sets %}
{% if bound_field_set.name %}

{{bound_field_set.name }}

{% endif %} {% for bound_field_line in bound_field_set %} {% admin_field_line bound_field_line %} {% for bound_field in bound_field_line %} {% filter_interface_script_maybe bound_field %} {% endfor %} {% endfor %}
{% endfor %} {% block after_field_sets %}{% endblock %} {% if change %} {% if bound_manipulator.ordered_objects %}

{% trans "Ordering" %}

{% if form.order_.errors %}{{ form.order_.html_error_list }}{% endif %}

{{ form.order_ }}

{% endif %} {% endif %} {% for related_object in bound_manipulator.inline_related_objects %}{% edit_inline related_object %}{% endfor %} {% block after_related_objects%}{%endblock%} {% submit_row bound_manipulator %} {% if add %} {% endif %} {% if bound_manipulator.auto_populated_fields %} {% endif %} {% if change %} {% if bound_manipulator.ordered_objects %} {% if form.order_objects %}{% endif %} {% endif %} {% endif %}
{% endblock %}