{% extends "admin/change_form.html" %} {% load i18n admin_urls static admin_modify admin_urls cms_admin cms_static %} {% block title %}{% if add %}{% trans 'Add a page' %}{% else %}{% trans "Change a page" %}{% endif %}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content_title %} {% if title %}

{{ title }}

{% endif %} {% if not popup and not add %} {% endif %} {% endblock %} {% block content %}
{% block object-tools %}{% endblock %}
{% csrf_token %} {% block form_top %}{% endblock %}
{% if show_language_tabs and not show_permissions %}
{% for lang_code, lang_name in language_tabs %} {% endfor %}
{% 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 show_permissions %} {% if CMS_PERMISSION and can_change_permissions %}
{% endif %} {% endif %} {% block after_related_objects %}{% endblock %} {% if add %}
{% else %} {% page_submit_row %} {% endif %}
{% block admin_change_form_document_ready %} {{ block.super }} {% endblock %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %} {% endblock %}