{% extends "admin/base_site.html" %} {% load i18n l10n admin_urls static admin_modify djadmin %} {% block title %}{% if errors %}{% translate "Error:" %} {% endif %}{{ block.super }}{% endblock %} {% block extrahead %}{{ block.super }} {% dj_url 'jsi18n' as dj_jsi18n %} {{ media }} {% endblock %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} {% block breadcrumbs %} {% endblock %} {% block object-tools %} {% if change and not is_popup %} {% endif %} {% endblock %} {% block content %} {% if change and not is_popup %}{% dj_object_history as dj_history %}{% endif %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if action_form and not is_popup %} {% dj_change_form_actions %} {% endif %} {% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% if source_model %}{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} {% if errors %}
{% dj_icon "alert" "dj-icon dj-icon--sm" %} {% blocktranslate count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
{{ adminform.form.non_field_errors }} {% endif %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" with heading_level=2 prefix="fieldset" id_prefix=0 id_suffix=forloop.counter0 %} {% endfor %} {% endblock %} {% block after_field_sets %}{% endblock %} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% endblock %} {% block after_related_objects %}{% endblock %} {% block submit_buttons_bottom %}{% submit_row %}{% endblock %} {% block admin_change_form_document_ready %} {% endblock %} {% prepopulated_fields_js %}
{% if dj_history %}{% include "djadmin/history_panel.html" %}{% endif %}
{% endblock %}