<fieldset class="bordertop">
    {foreach from=$edit_addi_list item=field}
        {addiedit field=$field}
        {include file="r/`$addifield_type`.tpl" name="`$edit_addi_section`_`$field->field`" title=$field->name color=$addifield_color
            collapse=$edit_addi_collapse class=$addifield_class maxlength=$addifield_maxlength targettype=$addifield_targettype targetdata=$edit_addi_target}
    {/foreach}
</fieldset>