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

{$tab.label|escape:"htmlall"}

{if isset($LSformElement_image) && $LSformElement_image!='' && isset($tab['img']) && $tab.img==1}
{/if}
{assign var='field' value='non'} {foreach from=$tab.args item=arg} {if isset($LSform_fields[$arg])} {assign var='field' value='oui'}
{$LSform_fields[$arg].label|escape:"htmlall"}{if $LSform_fields[$arg].help_info_in_view && $LSform_fields[$arg].help_info!=""} ?{/if}
{$LSform_fields[$arg].html}
{/if} {/foreach} {if $field=='non'}
{$LSform_layout_nofield_label|escape:"htmlall"}
{/if}
{/foreach} {else} {if isset($LSformElement_image) && $LSformElement_image!=''}
{/if}
{foreach from=$LSform_fields item=field}
{$field.label|escape:"htmlall"}
{$field.html}
{/foreach}
{/if}