petites améliorations présentation
This commit is contained in:
parent
c10ff02403
commit
5c7e6e9b0f
3 changed files with 5 additions and 8 deletions
|
|
@ -14,13 +14,14 @@
|
|||
|
||||
{{* Traiter l'envoi du formulaire *}}
|
||||
{{#form on="save"}}
|
||||
{{if $_POST.unarchive == 1}}
|
||||
{{if $_POST.unarchive != 1}}
|
||||
{{:save
|
||||
key=$equipment.key
|
||||
status="available"
|
||||
}}
|
||||
{{/if}}
|
||||
{{:redirect force="archives.html?ok=1&msg=modification"}}
|
||||
{{/if}}
|
||||
{{:redirect force="archives.html"}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Modifier matériel" custom_css="./style.css" current="module_equipment"}}
|
||||
|
|
@ -40,7 +41,7 @@
|
|||
<dd>{{$cat_name}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
{{:input type="checkbox" value=1 name="unarchive" label="Désarchiver" help="cocher pour remettre le matériel en service"}}
|
||||
{{:input type="checkbox" value=1 name="unarchive" label="Archivé" checked="checked" help="décocher pour remettre le matériel en service"}}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue