{$LSform_header} {if isset($LSform_layout) && $LSform_layout} {foreach from=$LSform_layout item=tab key=tab_key}

{tr msg=$tab.label}

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