facturation/templates/client_modifier.tpl

26 lines
1.1 KiB
Smarty
Raw Permalink Normal View History

2019-11-02 17:53:27 +01:00
{include file="admin/_head.tpl" title="Modifier un client — %s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id js=0}
{include file="%s/templates/_menu_client.tpl"|args:$plugin_root current="client_modifier"}
{form_errors}
<form method="post" action="{$self_url}">
<fieldset>
<legend>Modifier un client</legend>
<dl>
{input type="text" name="nom" label="Nom" required=true source=$client}
{input type="text" name="adresse" label="Adresse" required=true source=$client}
{input type="text" name="code_postal" label="Code postal" required=true source=$client}
{input type="text" name="ville" label="Ville" required=true source=$client}
{input type="tel" name="telephone" label="Téléphone" source=$client}
{input type="email" name="email" label="Adresse e-mail" source=$client}
2019-11-02 17:53:27 +01:00
</dl>
</fieldset>
<p class="submit">
{csrf_field key="edit_client"}
{button type="submit" name="save" label="Enregistrer" shape="right" class="main"}
2019-11-02 17:53:27 +01:00
</p>
</form>
{include file="admin/_foot.tpl"}