{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_filters %} {% block extrahead %} {{ block.super }} {% csp_nonce_attr media %} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation ba-delete-page{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if perms_lacking %} {% block delete_forbidden %} {% endblock %} {% elif protected %} {% block delete_protected %} {% if delete_confirmation_max_display is None or delete_confirmation_max_display > 0 %} {% endif %} {% endblock %} {% else %} {% block delete_confirm %}

{% translate 'Confirm deletion' %}

{% blocktranslate %}Are you sure you want to delete the {{ object_name }} “{{ escaped_object }}”? All of the following related items will be deleted:{% endblocktranslate %}

{% include "admin/includes/object_delete_summary.html" %} {% if delete_confirmation_max_display is None or delete_confirmation_max_display > 0 %}

{% translate "Objects" %}

    {{ deleted_objects|truncated_unordered_list:delete_confirmation_max_display }}
{% endif %}
{% csrf_token %} {% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% translate "No, take me back" %}
{% endblock %} {% endif %}
{% endblock content %}