{% extends "admin/base_site.html" %} {% load i18n l10n 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 delete-selected-confirmation ba-delete-page{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if perms_lacking %} {% elif protected %} {% else %}

{% translate 'Confirm deletion' %}

{% blocktranslate %}Are you sure you want to delete the selected {{ objects_name }}? All of the following objects and their 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" %}

{% for deletable_object in deletable_objects %}
    {{ deletable_object|truncated_unordered_list:delete_confirmation_max_display }}
{% endfor %} {% endif %}
{% csrf_token %} {% for obj in queryset %} {% endfor %} {% translate "No, take me back" %}
{% endif %}
{% endblock %}