{if $item.form}
{$item.form.hidden} {/if} {foreach from = $item.fields item = 'field' name = 'field'} {/foreach} {if $item.form} {include file = "`$BASE_PATH`/class/Form/tpl/elements.tpl" elements = $item.form.elements} {foreach item=section key=i from=$item.form.sections} {php} $this->assign('tr_class', str_replace(array('[',']'), array('_', ''), $this->_tpl_vars['section']['name'])); {/php} {include file = "`$BASE_PATH`/class/Form/tpl/elements.tpl" elements = $section.elements} {/foreach} {/if}
{$field.label} {foreach from = $field.value item = 'value' name = 'value'} {if empty($value)} - {else} {if 'file' == $field.type} {$value} {else} {$value|nl2br} {/if} {/if} {if !$smarty.foreach.value.last},{/if} {foreachelse} - {/foreach}
{$section.header} {if $section.attributes.note} {$section.attributes.note} {/if}
{if $item.form}
{/if} {if !$item.form}


Back {/if}