{% extends "admin/polymorphic_tree/change_form.html" %} {% load i18n admin_urls admin_modify fluent_pages_admin_tags %} {% comment %} Override the content block, so all templates will have the same set of blocks. This adds: * after_first_fieldset * the check of "original.is_published" in the toolbar {% endcomment %} {% block content %}
{% block object-tools %} {% if change %}{% if not is_popup %} {% endif %}{% endif %} {% if language_tabs %}{% include "admin/parler/language_tabs.html" %}{% endif %}{# manually included, this template overrides parler defaults #} {% endblock %}
{% 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 field_sets %} {# first fieldset #} {% for fieldset in adminform %} {% if forloop.first %}{% include "admin/includes/fieldset.html" %}{% endif %} {% endfor %} {% block after_first_fieldset %}{% endblock %} {# all remaining fieldsets #} {% for fieldset in adminform %} {% if not forloop.first %}{% include "admin/includes/fieldset.html" %}{% endif %} {% 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 %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}