{% extends "wagtailadmin/generic/form.html" %} {% load wagtailadmin_tags %} {% load i18n %} {% block content %} {% get_comments_enabled as comments_enabled %} {% include 'wagtailadmin/shared/headers/page_create_header.html' with title=header_title %}
{% csrf_token %} {% if parent_page.is_root %} {# The user is allowed to set a different locale for pages created at the root #} {# If they've done this, make sure their chosen locale is passed in the form #} {% endif %} {{ edit_handler.render_form_content }} {% block footer %} {{ block.super }} {# Reuse the footer container, but redefine the actions content down below to use component classes #} {% endblock %}
{% endblock %} {% block actions %} {{ action_menu.render_html }} {% block extra_footer_actions %} {% comment %} While undocumented, this block is used by some packages to add additional actions *outside* of the dropdown menu. {% endcomment %} {% endblock %} {% endblock%}