réorganisation ajout catégorie

This commit is contained in:
Jean-Christophe Engel 2024-11-19 16:04:50 +01:00
parent e17613e532
commit f4b98a6eac
4 changed files with 63 additions and 6 deletions

View file

@ -14,7 +14,8 @@
{{else}}
{{* supprimer la catégorie sélectionnée*}}
{{:delete where="key = :key" :key=$category.key}}
{{:redirect force="./index.html?ok=1&msg=suppression"}}
{{:assign msg="Catégorie « %s » supprimée"|args:$category.name}}
{{:redirect force="./index.html?ok=1&msg=%s"|args:$msg}}
{{/load}}
{{/form}}