{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block styles %} {{ block.super }} {{ media.css }} {% endblock %} {% block scripts %} {{ block.super }} {{ media.js }} {% endblock %} {% block header %} {% if not is_popup %} {{ block.super }} {% endif %} {% endblock %} {% block breadcrumb_items %} {% endblock %} {% block content %}
{% if perms_lacking %}

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

{% elif protected %}

{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}

{% else %}

{% url opts|admin_urlname:'change' object.pk|admin_urlquote as object_url %} {% blocktrans with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"?{% endblocktrans %}

{% trans 'All of the following related items will be deleted:' %}

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

{% trans "Objects" %}

{% csrf_token %} {% if is_popup %} {% endif %} {% if to_field %} {% endif %}
{% endif %}
{% endblock %}