{% extends "wagtailadmin/generic/form.html" %} {% load wagtailadmin_tags %} {% block main_content %} {% block before_form %}{% endblock %}
{% csrf_token %} {% block non_field_errors %} {% for error in form.non_field_errors %} {% help_block status="critical" %}{{ error }}{% endhelp_block %} {% endfor %} {% endblock %} {% if panel %} {{ panel.render_form_content }} {% else %} {% block hidden_fields %} {% for field in form.hidden_fields %}{{ field }}{% endfor %} {% endblock %} {% endif %} {% block actions %} {% endblock %}
{% block after_form %}{% endblock %} {% endblock %} {% block extra_js %} {{ block.super }} {% comment %} The following scripts are required for the 'link' feature of the Draftail editor to work - which is used by the description field of RadioShow and Podcast. See: wagtail/admin/templates/wagtailadmin/pages/_editor_js.html {% endcomment %} {% endblock %}