<p class="formstyle {if isset($collapse)}{$collapse}{/if} form_viewonly {if isset($row_no)}row_no{$row_no}{/if}" {if isset($align_top)}style="vertical-align:top"{/if}>
    {include file="r/parts/pre_field.tpl"}
    <span class="likeinput">
        <span id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}" {if isset($class)}class="many smaller {$class} form_viewonly"{else}class="many smaller {if !isset($ignore_viewonly)}form_viewonly{/if}"{/if} 
              {if isset($poptitle)}title="{if isset($i.$poptitle)}{$i.$poptitle}{else}{$poptitle}{/if}"{/if}
              >{if isset($default)}{$default}{/if}</span>
    </span>
    {if !isset($readonly) && !$readonly && isset($add_method)}
        <span class="dialog_make_btn16 add smallbtns ui-corner-all" id="many_add_button_{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}"
            onclick="{$add_method}('{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}')"
            title="{$i.basic_add}"></span>
    {/if}
    {include file="r/parts/past_field.tpl"}
</p>