{% extends "wagtailadmin/base.html" %} {% load wagtailadmin_tags %} {% load i18n %} {% load l10n %} {% block titletag %}{% blocktrans trimmed with title=page.get_admin_display_title page_type=content_type.model_class.get_verbose_name %}Editing {{ page_type }}: {{ title }}{% endblocktrans %}{% endblock %} {% block bodyclass %}{% if page.live %}page-is-live{% endif %} {% if page_locked %}content-locked{% endif %}{% endblock %} {% block content %} {% page_permissions page as page_perms %}
{% include 'wagtailadmin/shared/headers/page_edit_header.html' %} {% include "wagtailadmin/shared/side_panels.html" %}
{% block form %}
{% csrf_token %} {{ edit_handler.render_form_content }} {% if is_revision %} {% endif %}
{% endblock %} {% 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 }} {% include "wagtailadmin/shared/_workflow_init.html" %} {% endblock %}