{% extends "admin/base_site.html" %} {% load i18n static %}{% comment %} A soft-delete row's Delete page: the row moves to Deleted, can be restored, and the rows that point at it stay as they are. Override this template (admin///delete_confirmation.html), or set delete_confirmation_template on the admin class. {% endcomment %} {% block extrahead %}{{ block.super }} {{ media }} {% endblock %} {% block extrastyle %}{{ block.super }} {% include "karni_admin/includes/page_styles.html" %} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation{% endblock %} {% block content %}
{% if perms_lacking %}

{% blocktranslate with escaped_object=object %}You cannot delete the {{ object_name }} "{{ escaped_object }}"{% endblocktranslate %}

{% translate "Your account may not delete it." %}

{% else %}

{% blocktranslate with escaped_object=object %}Delete the {{ object_name }} "{{ escaped_object }}"?{% endblocktranslate %}

{% translate "It moves to Deleted and can be restored from the list." %}

{% translate "This is a soft delete: rows that refer to it are kept as they are, and their links to it keep working." %}

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