{% extends "sb_admin/sb_admin_base.html" %} {% load i18n admin_urls static %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation{% endblock %} {% block content %}

{% blocktrans %}Delete {{ object }}{% endblocktrans %}

{% 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 %}

{% blocktrans with escaped_object=object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}

{% endif %}
{% if perms_lacking %}
{% elif protected %}
{% else %}
{% translate "Summary" %}

{% trans "Objects" %}

{% include 'sb_admin/includes/change_form_title.html' %}

{% csrf_token %} {% if is_popup %}{% endif %} {% if to_field %} {% endif %} {% trans "No, take me back" %}
{% endif %} {% endblock %}