1 {% extends "admin/base_site.html" %}
5 {% block breadcrumbs %}
6 <div class="breadcrumbs">
7 <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
8 › <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst }}</a>
9 › <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst|escape }}</a>
10 › <a href="{% url opts|admin_urlname:'change' object.pk|admin_urlquote %}">{{ object|truncatewords:"18" }}</a>
11 › {% trans 'Delete' %}
16 {% if perms_lacking or protected %}
17 {% if perms_lacking %}
18 <p>{% 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 %}</p>
20 {% for obj in perms_lacking %}
26 <p>{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}</p>
28 {% for obj in protected %}
34 <p>{% blocktrans with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All related objects will be deleted{% endblocktrans %}</p>
35 <form action="" method="post">{% csrf_token %}
37 <input type="hidden" name="post" value="yes" />
38 <input type="submit" value="{% trans "Yes, I'm sure" %}" />