{% extends "paxalia/base.html" %} {% load static i18n %} {% block title %}{% trans "Delete" %} · {{ definition.verbose_name }} · Paxalia{% endblock %} {% block page_title %}{% trans "Delete" %} {{ definition.verbose_name }}{% endblock %} {% block page_subtitle %}{% trans "Review the affected objects before confirming" %}{% endblock %} {% block extra_css %}{% endblock %} {% block dashboard_content %}
{% trans "Destructive action" %}

{% trans "Delete this object?" %}

{% trans "Review the object and the deletion impact before confirming." %}

{{ definition.label }}

{{ object_display }}

{% trans "Deletion uses Django's normal cascade and protection semantics. Any blocking dependency reported below must be resolved before deletion can proceed." %}

{% if impact.blocked %}
{{ impact.error }}
{% endif %}
{% trans "Impact" %}

{% trans "Objects affected" %}

{% if impact.blocked %}{% trans "Blocked" %}{% else %}{% trans "Ready to review" %}{% endif %}
{% for model,count in impact.counts.items %}
{{ model }}{{ count }}
{% empty %}

{% trans "No related objects were collected." %}

{% endfor %}
{% trans "Cancel" %}{% if not impact.blocked %}
{% csrf_token %}
{% endif %}
{% endblock %} {% block page_scripts %}{% endblock %}