{% extends "admin/delete_selected_confirmation.html" %} {% load i18n l10n admin_urls static %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %}
{% if perms_lacking %} {# Start Section "Perms Lacking" #}

{% blocktrans %} Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects: {% endblocktrans %}

{# End Section "Perms Lacking" #} {% elif protected %} {# Start Section "Protected" #}

{% blocktrans %} Deleting the selected {{ objects_name }} would require deleting the following protected related objects: {% endblocktrans %}

{# End Section "Protected" #} {% else %} {# Start Section For All Other #}

{% blocktrans %} Are you sure you want to delete the selected {{ objects_name }}? All of the following objects and their related items will be deleted: {% endblocktrans %}

{% include "admin/includes/object_delete_summary.html" %}

{% trans "Objects" %}

{% for deletable_object in deletable_objects %} {% endfor %}
{% csrf_token %}
{% for obj in queryset %} {% endfor %} {% trans "No, take me back" %}
{# End Section For All Other #} {% endif %}
{% endblock content %}