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

{% trans "Hard 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 %}

⚠️ Warning: {% blocktrans with objects_name=objects_name %}Are you sure you want to permanently delete the selected {{ objects_name }}? This action cannot be undone!{% endblocktrans %}

{% if deletable_objects %}

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

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

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

{% endif %}
{% endblock %}