{% extends "base_template.html" %} {% block title %}{{ _('Delete') }} {{ model_name }} - {{ _('Admin') }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}

{{ _('Delete') }} {{ model_name }}

{{ _('You are about to permanently delete this %(model)s record. This action cannot be undone.', model=model_name) }}

{% for col in columns %} {% endfor %}
{{ col.name }} {% set val = record.__dict__.get(col.name, '') %} {% if val is none %} null {% else %} {{ val }} {% endif %}
{# A bare test app has no CSRFProtect, so the global may not exist; every real product initialises it and emits the token. #} {% if csrf_token is defined %}{% endif %} {{ _('Cancel') }}
{% endblock %}