{% extends "wagtailadmin/generic/base.html" %} {% load wagtailadmin_tags %} {% load i18n %} {% load l10n %} {% block bodyclass %}editor-view {% if page.live %}page-is-live{% endif %} {% if page_locked %}content-locked{% endif %}{% endblock %} {% block content %} {% get_comments_enabled as comments_enabled %} {% page_permissions page as page_perms %} {% include 'wagtailadmin/shared/headers/page_edit_header.html' with title=header_title %} {% 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 %}