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

{$tab.label}

{if $LSformElement_image!='' && $tab.img==1}
{/if}
{assign var='field' value='non'} {foreach from=$tab.args item=arg} {if $LSform_fields[$arg]} {assign var='field' value='oui'}
{$LSform_fields[$arg].label}
{$LSform_fields[$arg].html}
{/if} {/foreach} {if $field=='non'}
{$LSform_layout_nofield_label}
{/if}
{/foreach} {else} {if $LSformElement_image!=''}
{/if}
{foreach from=$LSform_fields item=field}
{$field.label}
{$field.html}
{/foreach}
{/if}