{% extends "admin/base.html" %} {% load i18n admin_urls static %} {% block title %}{% trans "Soft delete confirmation" %}{% endblock %} {% block content_title %}

{% trans "Soft delete confirmation" %}

{% endblock %} {% block content %}
{% if perms_lacking %}

{% blocktrans %}Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}

{% elif protected %}

{% blocktrans %}Deleting the selected {{ objects_name }} would require deleting the following protected related objects:{% endblocktrans %}

{% else %}

{% blocktrans with objects_name=objects_name %}Are you sure you want to soft delete the selected {{ objects_name }}? This action can be undone by restoring the objects.{% endblocktrans %}

{% if deletable_objects %}

{% trans "Objects to be soft deleted:" %}

{% endif %}
{% csrf_token %} {% for obj in queryset %} {% endfor %} {% if preserved %} {% for obj in preserved %} {% endfor %} {% endif %}

{% trans "No, take me back" %}

{% endif %}
{% endblock %}