réorganisation (cf remarques Bohwaz)
This commit is contained in:
parent
6006bdd169
commit
0e669a7c21
23 changed files with 279 additions and 236 deletions
|
|
@ -48,7 +48,7 @@
|
|||
category=$category.key
|
||||
designation=$_POST.designation|trim
|
||||
}}
|
||||
{{:redirect force="index.html?ok=1&msg=Modification enregistrée"}}
|
||||
{{:redirect force="index.html?ok=1"}}
|
||||
|
||||
{{else}}
|
||||
{{:form_errors}}
|
||||
|
|
@ -62,8 +62,10 @@
|
|||
<form method="post" action="">
|
||||
<fieldset class="modification">
|
||||
<legend>Modifier un matériel</legend>
|
||||
<dl>
|
||||
{{:input type="select" name="category" label="Catégorie" default=$default_category required=true options=$categories}}
|
||||
{{:input type="text" name="designation" label="Désignation" default=$equipment.designation required=true}}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
<p class="submit">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue