{% extends "wagtailadmin/base.html" %} {% load wagtailadmin_tags %} {% load i18n %} {% block titletag %}{% blocktrans trimmed with page_type=content_type.model_class.get_verbose_name %}New {{ page_type }}{% endblocktrans %}{% endblock %} {% block content %}
{% include 'wagtailadmin/shared/headers/page_create_header.html' %} {% include "wagtailadmin/shared/side_panels.html" %}
{% 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 }}
{% endblock %} {% block extra_css %} {{ block.super }} {{ media.css }} {% endblock %} {% block extra_js %} {{ block.super }} {% include "wagtailadmin/pages/_editor_js.html" %} {% comment %} Additional js from widgets media. Allows for custom widgets in admin panel. {% endcomment %} {{ media.js }} {% endblock %}