{# The delete page's body — crate::pages::admin::table_definition::ui::DeleteFragment. Only a refused delete swaps this: a successful one redirects to the admin panel, because the table this page was about no longer exists. #} {% include "pages/admin/table_definition/feedback.html" %} {% if page.table_is_writable() %}

Delete {{ page.selection.table }}

Drops the table and its definition, and the profile too when this was its last table. The backend refuses to delete a table that still has rows.

{% if let Some(summary) = page.selected_table() %} {% if !summary.depends_on.is_empty() %}

It links to {{ summary.depends_on|join(", ") }}.

{% endif %} {% endif %}
{% else if !page.selection.has_table() %}

No table chosen

Pick the table to delete in the admin panel first.

{% endif %}