Utilisation de {input} pour le formulaire de modification
This commit is contained in:
parent
73248375bd
commit
0ef04439f1
@ -7,24 +7,18 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Modifier un client</legend>
|
<legend>Modifier un client</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="f_nom">Nom</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
{input type="text" name="nom" label="Nom" required=true source=$client}
|
||||||
<dd><input type="text" name="nom" id="f_nom" value="{$client.nom}"/></dd>
|
{input type="text" name="adresse" label="Adresse" required=true source=$client}
|
||||||
<dt><label for="f_adresse">Adresse</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
{input type="text" name="code_postal" label="Code postal" required=true source=$client}
|
||||||
<dd><input type="text" name="adresse" id="f_adresse" value="{$client.adresse}"/></dd>
|
{input type="text" name="ville" label="Ville" required=true source=$client}
|
||||||
<dt><label for="f_cp">Code postal</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
{input type="tel" name="telephone" label="Téléphone" source=$client}
|
||||||
<dd><input type="text" name="code_postal" id="f_cp" value="{$client.code_postal}"/></dd>
|
{input type="email" name="email" label="Adresse e-mail" source=$client}
|
||||||
<dt><label for="f_ville">Ville</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
|
||||||
<dd><input type="text" name="ville" id="f_ville" value="{$client.ville}"/></dd>
|
|
||||||
<dt><label for="f_tel">Téléphone</label></dt>
|
|
||||||
<dd><input type="text" name="telephone" id="f_tel" value="{$client.telephone}"/></dd>
|
|
||||||
<dt><label for="f_email">Adresse mail</label></dt>
|
|
||||||
<dd><input type="text" name="email" id="f_email" value="{$client.email}"/></dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
{csrf_field key="edit_client"}
|
{csrf_field key="edit_client"}
|
||||||
<input type="submit" name="save" value="Enregistrer →" />
|
{button type="submit" name="save" label="Enregistrer" shape="right" class="main"}
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user