{% extends "wagtailadmin/base.html" %} {% load i18n wagtailmodeladmin_tags %} {% block titletag %}{{ view.get_meta_title }}{% endblock %} {% block content %} {% include "wagtailadmin/shared/header.html" with title=view.get_page_title subtitle=view.get_page_subtitle icon=view.header_icon %}
{% if error_protected %}

{% blocktrans with view.model_name|lower as model_name %}{{ model_name }} could not be deleted{% endblocktrans %}

{% blocktrans with instance as instance_name and view.model_name as model_name %}'{{ instance_name }}' is currently referenced by other objects, and cannot be deleted without jeopardising data integrity. To delete it successfully, first remove references from the following objects, then try to delete it again:{% endblocktrans %}

{% trans 'Go back to listing' %}

{% else %}

{{ view.confirmation_message }}

{% csrf_token %}
{% endif %}
{% endblock %}