{assign var='reqFields' value=$cbphoto->load_required_forms($photoArray)} {assign var='otherFields' value=$cbphoto->load_other_forms($photoArray)}
{foreach from=$reqFields item=item}
{$item.class='form-control'} {$formObj->createField($item)} {if $item.hint_1} {$item.hint_1} {/if}
{/foreach}
{foreach from=$otherFields item=field}
{$field.label_class='radio-inline'} {$field.notShowSeprator=true} {$formObj->createField($field)}
{/foreach}