{% extends "admin/change_form.html" %} {% load i18n admin_urls static admin_modify material %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block content %}
{% csrf_token %} {% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} {% if errors %}

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

{{ adminform.form.non_field_errors }} {% endif %}
{% block additional_submit_row %}{% additional_submit_row %}{% endblock %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% endblock %} {% block after_field_sets %}{% endblock %} {% block after_related_objects %}{% endblock %} {% block submit_buttons_bottom %}{% submit_row %}{% endblock %} {% block admin_change_form_document_ready %} {% endblock %}
{# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% if not object_tools %} {% block object-tools %} {% if change %}
close

perm_data_setting{% trans 'Tools' %}

{% if not is_popup %}
    {% block object-tools-items %} {% change_form_object_tools %} {% endblock %}
{% endif %}
{% endif %} {% endblock %} {% endif %}
{% endblock %} {% block footer %} {{ block.super }} {% endblock %}