Modernisation des éléments du formulaire
This commit is contained in:
parent
323bc87a38
commit
97abfb4774
|
@ -43,7 +43,7 @@
|
|||
{/if}
|
||||
</table>
|
||||
{else}
|
||||
<p class="alert">
|
||||
<p class="alert block">
|
||||
Aucun client trouvé.
|
||||
</p>
|
||||
{/if}
|
||||
|
@ -54,24 +54,18 @@
|
|||
<fieldset>
|
||||
<legend>Ajouter un client</legend>
|
||||
<dl>
|
||||
<dt><label for="f_nom">Nom</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
||||
<dd><input type="nom" name="nom" id="f_nom" value="{form_field name="nom"}"/></dd>
|
||||
<dt><label for="f_adresse">Adresse</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
||||
<dd><input type="text" name="adresse" id="f_adresse" value="{form_field name="adresse"}"/></dd>
|
||||
<dt><label for="f_cp">Code postal</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
||||
<dd><input type="text" name="code_postal" id="f_cp" value="{form_field name="code_postal"}"/></dd>
|
||||
<dt><label for="f_ville">Ville</label> <b title="(Champ obligatoire)">obligatoire</b></dt>
|
||||
<dd><input type="text" name="ville" id="f_ville" value="{form_field name="ville"}"/></dd>
|
||||
<dt><label for="f_tel">Téléphone</label></dt>
|
||||
<dd><input type="text" name="telephone" id="f_tel" value="{form_field name="telephone"}"/></dd>
|
||||
<dt><label for="f_email">Adresse mail</label></dt>
|
||||
<dd><input type="text" name="email" id="f_email" value="{form_field name="email"}"/></dd>
|
||||
{input type="text" name="nom" label="Nom" required=true}
|
||||
{input type="text" name="adresse" label="Adresse" required=true}
|
||||
{input type="text" name="code_postal" label="Code postal" required=true}
|
||||
{input type="text" name="ville" label="Ville" required=true}
|
||||
{input type="tel" name="telephone" label="Téléphone"}
|
||||
{input type="email" name="email" label="Adresse e-mail"}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
<p class="submit">
|
||||
{csrf_field key="add_client"}
|
||||
<input type="submit" name="add" value="Enregistrer →" />
|
||||
{button type="submit" name="add" label="Enregistrer" shape="right" class="main"}
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
|
|
@ -51,9 +51,7 @@
|
|||
<fieldset>
|
||||
<legend>Factures</legend>
|
||||
<dl>
|
||||
<dt><label for="f_footer">Pied de documents/informations légales</label></dt>
|
||||
<dd><textarea name="footer" id="f_footer" cols="50" rows="5">{form_field data=$plugin.config name=footer}</textarea></dd>
|
||||
|
||||
{input type="textarea" class="full-width" rows="10" name="footer" source=$plugin.config label="Pied de document — informations légales" required=true}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
{form_errors}
|
||||
|
||||
{if count($factures)}
|
||||
<table class="list">
|
||||
<thead>
|
||||
<td>Type</td>
|
||||
|
@ -67,5 +68,8 @@
|
|||
</tbody>
|
||||
|
||||
</table>
|
||||
{else}
|
||||
<p class="help">Aucun document, vous pouvez commencer par {link href="facture_ajouter.php" label="créer un nouveau document"}.</p>
|
||||
{/if}
|
||||
|
||||
{include file="admin/_foot.tpl"}
|
||||
|
|
Loading…
Reference in New Issue