vérification ajout matériel en double

This commit is contained in:
Jean-Christophe Engel 2024-10-29 11:57:14 +01:00
parent 4a24ea40db
commit 795e55e172
2 changed files with 67 additions and 33 deletions

View file

@ -1,5 +1,10 @@
{{* -*- brindille -*- *}}
{{*
Paramètres :
- key : clé du matériel à modifier
*}}
{{:admin_header title="Modifier matériel" current="module_equipment"}}
{{:assign equipment_key=$_GET.key|trim}}
@ -49,7 +54,7 @@
category=$category.key
designation=$_POST.designation|trim
}}
{{:redirect force="index.html?ok=1"}}
{{:redirect force="index.html?ok=1&msg=modification"}}
{{else}}
{{:form_errors}}