déplacement admin_header et form_errors
This commit is contained in:
parent
be14aa6809
commit
f2a9cb6af6
16 changed files with 40 additions and 93 deletions
|
|
@ -5,8 +5,6 @@
|
|||
- key : clé du matériel à rendre
|
||||
*}}
|
||||
|
||||
{{:admin_header title="Sortie de matériel" current="module_equipment"}}
|
||||
|
||||
{{if ! $dialog}}
|
||||
{{* barre de navigation *}}
|
||||
{{:include file="../../_nav.html" current="sorties"}}
|
||||
|
|
@ -101,10 +99,11 @@
|
|||
comment=$_POST.remarques|trim
|
||||
}}
|
||||
{{:redirect force="../../historique.html?ok=1&key=%s&prop=0&msg=sortie"|args:$_GET.key}}
|
||||
{{else}}
|
||||
{{:form_errors}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Sortie de matériel" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
{{:include file="../../_calcul_dispo.html" keep="categories,equipments"}}
|
||||
{{:assign var=present from="equipments.%s.nonproprio"|args:$_GET.key}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue