pub fn delete_corpus_human(
name: &str,
form: Form<DeleteForm>,
session: Option<AdminSession>,
pool: &State<DbPool>,
) -> Result<Redirect, Status>Expand description
The human twin of delete_corpus: the corpus screen’s “Delete corpus” form. Gated by the
signed-in AdminSession cookie (anonymous → sign-in) and confirmation-gated (the form
echoes the corpus name), then redirects to the overview. 400 if the confirmation doesn’t
match, 404 if unknown.