{% extends "admin/polymorphic_tree/change_form.html" %} {% load i18n suit_tags admin_urls admin_modify admin_static %} {% block content %}
{% block submit_buttons_bottom %} {% if add %} {% submit_row %} {% else %} {% include "admin/fluent_pages/page/submit_line.html" %} {% endif %} {% endblock %}
{% block object-tools %} {% if change %}{% if not is_popup %}

{% trans 'tools'|capfirst %}

{% endif %}{% endif %} {% endblock %} {% block sidebar %}{% endblock %}
{% csrf_token %}{% block form_top %}{% endblock %} {% block suit_form_tabs %} {% if adminform.model_admin.suit_form_tabs %} {% endif %} {% if language_tabs %}{% include "admin/parler/language_tabs.html" %}{% endif %} {% endblock %}
{% if is_popup %} {% endif %} {% if to_field %} {% 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 %} {# render suit_form_includes at top position #} {% include 'suit/includes/change_form_includes.html' with position='top' %} {% block field_sets %} {% for fieldset in adminform %} {% if forloop.first %}{% include "admin/includes/fieldset.html" %}{% endif %} {% endfor %} {% block after_first_fieldset %}{% endblock %} {% for fieldset in adminform %} {% if not forloop.first %}{% include "admin/includes/fieldset.html" %}{% endif %} {% endfor %} {% endblock %} {% block after_field_sets %}{% endblock %} {# render suit_form_includes at middle position #} {% include 'suit/includes/change_form_includes.html' with position='middle' %} {% 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 %} {# render suit_form_includes at last position #} {% include 'suit/includes/change_form_includes.html' with position='bottom' %} {% block admin_change_form_document_ready %} {% endblock %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}