{% extends "admin/change_form.html" %} {% load i18n admin_modify adminmedia cms_tags cms_admin %} {% block title %}{% trans "Change a page" %}{% endblock %} {% block extrahead %} {{ block.super.super }} {{ media }} {% if not add %} {% endif %} {% if add %} {% endif %} {% endblock %} {% block breadcrumbs %}{% if not is_popup %} {% endif %}{% endblock %} {% block content_title %} {% if moderation_delete_request %}

{% trans "Approve page deletion" %}

{% else %}

{{ title }} {% if CMS_MODERATOR %} {% if moderation_required %}{% blocktrans %}(requires approvement at {{ moderation_level }} level){% endblocktrans %} {% else %}{% trans '(you can perform actions on this page directly)' %} {% endif %} {% endif %}

{% endif %} {% endblock %} {% block content %}
{% block object-tools %} {% if change %}{% if not is_popup %} {% endif %}{% endif %} {% endblock %}
{% block form_top %}{% endblock %} {{ adminForm.fields.parent }} {% if show_language_tabs %}
{% for lang_code, lang_name in traduction_language %} {% endfor %}
{% endif %}
{% if show_language_tabs %}

{% endif %} {% if is_popup %}{% endif %} {% if save_on_top %}{% submit_row %}{% endif %} {% if errors %}

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

    {% for error in adminform.form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% for fieldset in adminform %} {% include "admin/cms/page/includes/fieldset.html" %} {% endfor %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% if not add %} {% if CMS_PERMISSION and has_change_permissions_permission %}
{% endif %} {% if CMS_MODERATOR and has_moderate_permission %}
{% endif %} {% if moderation_delete_request %}{% endif %} {% if CMS_MODERATOR and moderation_required %}

{% blocktrans %}This page must be moderated at level {{ moderation_level }}, post a message for moderator.{% endblocktrans %}

{% endif %} {% endif %} {% block after_related_objects %}{% endblock %} {% if add %}
{% else %} {% if not moderation_delete_request %}{% page_submit_row %}{% endif %} {% endif %} {% if add %} {% endif %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}