{if $item.title != ''}{trans key=$item.title}{/if} {if $item.collapsible}
{/if}
{if $item.note != ''}

{trans key=$item.note}

{/if} {foreach from=$item.fields item=item} {if $item->getType() == 'group'} {include file='templates/elements/form/field-group.html' item=$item->toArray()} {else} {assign var='template' value=$item->getTemplate()} {include file=$template field=$item->toArray()} {/if} {/foreach}