| {% extends "admin/base_site.html" %} |
| <div class="breadcrumbs"> |
| <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> |
| › <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst }}</a> |
| › <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst|escape }}</a> |
| › <a href="{% url opts|admin_urlname:'change' object.pk|admin_urlquote %}">{{ object|truncatewords:"18" }}</a> |
| › {% trans 'Delete' %} |
| {% if perms_lacking or protected %} |
| <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> |
| {% for obj in perms_lacking %} |
| <p>{% blocktrans with escaped_object=object %}Deleting the {{ object_name }} '{{ escaped_object }}' would require deleting the following protected related objects:{% endblocktrans %}</p> |
| {% for obj in protected %} |
| <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> |
| <form action="" method="post">{% csrf_token %} |
| <input type="hidden" name="post" value="yes" /> |
| <input type="submit" value="{% trans "Yes, I'm sure" %}" /> |