{% extends "admin/base.html" %} {% from "admin/components/csrf-field.html" import csrf_field %} {% from "admin/components/icons.html" import icon %} {% from "admin/components/ui/delete-preview.html" import delete_preview %} {% block title %}{{ heading }}{% endblock %} {% block content %}
{{ csrf_field(csrf_token) }} {% if selection.select_all %} {% for name, value in selection.list_request.filters.items() %} {% endfor %} {% else %} {% for pk in selection.pks %} {% endfor %} {% endif %} {% if selection.changed %} {% endif %}
{{ icon("delete", "w-5 h-5") }}

{{ heading }}

{{ _("This action cannot be undone.") }}

{{ _("Selected records") }}

{{ delete_preview(preview) }}
{% if not preview.blocked %} {% endif %} {{ _("Cancel") }}
{% endblock %}