init
[garradin.git] / templates / admin / compta / categories / modifier.tpl
1 {include file="admin/_head.tpl" title="Modifier une catégorie" current="compta/categories"}
2
3 {if $error}
4 <p class="error">
5 {$error|escape}
6 </p>
7 {/if}
8
9 <form method="post" action="{$self_url|escape}">
10
11 <fieldset>
12 <legend>Modifier une catégorie</legend>
13 <dl>
14 <dt><label for="f_intitule">Intitulé</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
15 <dd><input type="text" name="intitule" id="f_intitule" value="{form_field name=intitule data=$cat}" required="required" /></dd>
16 <dt><label for="f_description">Description</label></dt>
17 <dd><textarea name="description" id="f_description" rows="4" cols="70">{form_field name=description data=$cat}</textarea></dd>
18 </dl>
19 </fieldset>
20
21 <p class="submit">
22 {csrf_field key="compta_edit_cat_`$cat.id`"}
23 <input type="submit" name="save" value="Enregistrer &rarr;" />
24 </p>
25
26 </form>
27
28 {include file="admin/_foot.tpl"}