{$LSform_header} {if $LSform_layout} {foreach from=$LSform_layout item=tab key=tab_key}

{tr msg=$tab.label}

{if $LSformElement_image!='' && $tab.img==1}
{if $LSformElement_image_actions!='' && !$LSformElement_image_errors}
  • {foreach from=$LSformElement_image_actions item=item}
  • {/foreach}
{/if}
{/if}
{foreach from=$tab.args item=arg} {if $LSform_fields[$arg]}
{$LSform_fields[$arg].label}{if $LSform_fields[$arg].required} *{/if}{if $LSform_fields[$arg].help_info!=""} ?{/if}
{$LSform_fields[$arg].html}{if $LSform_fields[$arg].add != ''} + Ajouter un champ{/if}
{if $LSform_fields[$arg].errors != ''} {foreach from=$LSform_fields[$arg].errors item=error}
{$error}
{/foreach} {/if} {/if} {/foreach}
{/foreach} {else} {if $LSformElement_image!=''}
{if $LSformElement_image_actions!='' && !$LSformElement_image_errors} {/if}
{/if}
{foreach from=$LSform_fields item=field}
{$field.label}{if $field.required} *{/if}{if $field.help_info!=""} ?{/if}
{$field.html}{if $field.add != ''} + Ajouter un champ{/if}
{if $field.errors != ''} {foreach from=$field.errors item=error}
{$error}
{/foreach} {/if} {/foreach}
{/if}