{# The shared "are you sure?" modal, ported from myep/myep-team's htmx_confirmation_modal.html.twig. It replaces both native confirmation mechanisms this app used before: htmx's `hx-confirm` (a window.confirm, unstyleable and invisible to the page) and `onsubmit="return confirm(...)"` on the list forms. Both are gone; neither may come back. The flow is the sibling one: a route serves GET (render this) and POST (do the thing), the opener is a plain `hx-get` button appending to , and the confirm button posts back to the *same* URI -- so the query string that brought the user here, `?return=` included, is carried over for free. The CSRF token lives here rather than on the opener, which is why the lists no longer carry hidden token fields at all. Blocks: title, content, button_attribute (replace the hx-* defaults), button_confirm, button_cancel. Callers must pass `csrf_token_id`. #}
{{ ux_icon('lucide:triangle-alert', { class: 'w-7 h-7 shrink-0 text-amber-500' }) }}
{% block title %}Bist du sicher?{% endblock %}
{% block content %}{% endblock %}
{# Targets itself with outerHTML, so a response consisting only of out-of-band blocks leaves nothing to swap in and this modal disappears -- the same mechanism the booking modal uses. A response that instead sets HX-Redirect navigates away and the swap never happens. #}