2008-02-26 18:40:05 +01:00
|
|
|
{include file='top.tpl'}
|
2008-02-12 18:59:44 +01:00
|
|
|
{if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
|
|
|
|
|
|
|
|
<form action='{$LSform_action}' method='post' class='LSform'>
|
|
|
|
{$LSform_header}
|
|
|
|
<dl class='LSform'>
|
|
|
|
{foreach from=$LSform_fields item=field}
|
2008-10-09 03:31:33 +02:00
|
|
|
<dt class='LSform{if $field.errors != ''} LSform-errors{/if}'>{$field.label}{if $field.required} *{/if}{if $field.help_info!=""} <img class='LStips' src="{$LS_IMAGES_DIR}/help.png" alt='?' title="{$field.help_info}"/>{/if}</dt>
|
2008-02-12 18:59:44 +01:00
|
|
|
<dd class='LSform'>{$field.html}{if $field.add != ''} <span class='LSform-addfield'>+ Ajouter un champ</span>{/if}</dd>
|
|
|
|
{if $field.errors != ''}
|
|
|
|
{foreach from=$field.errors item=error}
|
|
|
|
<dd class='LSform LSform-errors'>{$error}</dd>
|
|
|
|
{/foreach}
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
<dd class='LSform'><input type='submit' value='{$LSform_submittxt}' class='LSform' /></dd>
|
|
|
|
</dl>
|
|
|
|
</form>
|
2008-02-26 18:40:05 +01:00
|
|
|
{include file='bottom.tpl'}
|