{% extends "admin/base_site.html" %} {% load i18n admin_urls static dashub %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content_title %} {% trans 'Delete' %} {% endblock %} {% block content %}
{% trans 'Delete' %} {{ object|truncatewords:"18" }}
{% 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 %}

    {% for obj in perms_lacking %}
  1. {{ obj }}
  2. {% endfor %}
{% elif protected %}

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

    {% for obj in protected %}
  1. {{ obj }}
  2. {% endfor %}
{% 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 %}

{% trans "Objects" %}

    {{ deleted_objects|unordered_list }}
{% include "admin/includes/object_delete_summary.html" %}
{% csrf_token %} {% if is_popup %} {% endif %} {% if to_field %}{% endif %}
{% endif %}
{% endblock %}