ok to modify equipment
This commit is contained in:
parent
c3eb06ce0d
commit
35c88400b0
7 changed files with 111 additions and 17 deletions
28
src/templates/modifier_materiel.tpl
Normal file
28
src/templates/modifier_materiel.tpl
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{include file="admin/_head.tpl" title="%s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id}
|
||||
|
||||
{include file="%s_nav.tpl"|args:$plugin_tpl current="index"}
|
||||
|
||||
<form method="post" action="{$self_url}" data-focus="1">
|
||||
{form_errors}
|
||||
<fieldset>
|
||||
<legend>Modifier ce matériel</legend>
|
||||
<dl>
|
||||
<dt><label for="f_cat">Catégorie</label> <b>(obligatoire)</b></dt>
|
||||
<dd>
|
||||
<select name="category_id" id="f_cat">
|
||||
{foreach from=$cats item="cat"}
|
||||
<option value="{$cat.id}"{if $selected_cat == $cat.id} selected="selected"{/if}>{$cat.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</dd>
|
||||
{input type="text" name="designation" label="Désignation" required=true source=$eq maxlength="255"}
|
||||
</dl>
|
||||
</fieldset>
|
||||
<p class="submit">
|
||||
{csrf_field key=$csrf_key}
|
||||
{button type="submit" name="save" label="Enregistrer" shape="right" class="main"}
|
||||
{linkbutton label="Annuler" shape="export" href=$cancel_link}
|
||||
</p>
|
||||
</form>
|
||||
|
||||
{include file="admin/_foot.tpl"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue