{# "Are you sure?" — shown when a POST to a confirmable route arrives without the confirmation field (see confirm.py). With JavaScript on, the up-confirm dialog asks instead and this page is never reached. The form posts the same fields to the same URL, with a fresh CSRF token and the confirmation field. Override this template (same path in the app's templates folder), or pass template= to @requires_confirmation for one route. Context: confirm_title, confirm_text, confirm_button, confirm_tone, confirm_action, confirm_fields [(name, value)], confirm_field, confirm_cancel_url (may be none), confirm_lost_files #} {% extends "structure/base.html" %} {% block title %}{{ construct.compose_title(confirm_title) }}{% endblock %} {% block page_heading %}{% endblock %} {% block content %}
{{ confirm_text }}
{% endif %} {% if confirm_lost_files %}{{ construct.t("confirm-files-lost") }}
{% endif %} {# nosemgrep: django-no-csrf-token — Flask app; CSRF is handled by {{ csrf_field() }} below, not Django's {% csrf_token %}. #}