{% extends "wagtailadmin/base.html" %} {% load wagtailadmin_tags i18n %} {% block titletag %}{% blocktrans with snippet_type_name=model_opts.verbose_name %}Editing {{ snippet_type_name }} - {{ instance }}{% endblocktrans %}{% endblock %} {% block content %} {% trans "Editing" as editing_str %} {% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=instance icon="snippet" tabbed=1 %}
{% usage_count_enabled as uc_enabled %} {% if uc_enabled %}
{% else %}
{% endif %}
{% csrf_token %} {{ edit_handler.render_form_content }}
{% if uc_enabled %} {% endif %}
{% endblock %} {% block extra_css %} {{ block.super }} {% include "wagtailadmin/pages/_editor_css.html" %} {{ edit_handler.form.media.css }} {% endblock %} {% block extra_js %} {{ block.super }} {% include "wagtailadmin/pages/_editor_js.html" %} {{ edit_handler.form.media.js }} {{ edit_handler.html_declarations }} {% endblock %}