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

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

{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|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 $LSformElement_image!=''}
{/if}
{foreach from=$LSform_fields item=field}
{$field.label|escape:"htmlall"}
{$field.html}
{/foreach}
{/if}