<p class="formstyle {if isset($collapse)}{$collapse}{/if} {if isset($row_no)}row_no{$row_no}{/if}"
    {if isset($hide) && $hide} style="display:none;"{/if}>{*
    *}{include file="r/parts/pre_field.tpl"}{*
    *}<select name="{$name}" id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}"
            class="{if isset($class)}{$class}{/if} {if isset($readonly) && $readonly}ignoredisabled{/if}"
	    {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}
	    {if isset($readonly) && $readonly}disabled="disabled"{/if}
	    {if isset($filter_extra)}{$filter_extra}{/if}
            {if isset($class) && stripos($class, 'required')!==false}required{/if}
	>
	{if !isset($noempty)}<option value="">&nbsp;</option>{/if}
	{if isset($list)}
            {foreach item=item from=$list}
                <option value="{$item->$id}" {if isset($smarty.post.$name) && $smarty.post.$name eq $item->$id}selected="selected"{elseif isset($default) && $default eq $item->$id}selected="selected"{/if}
                    title="{$item->$text|escape:'html'}" {if isset($mapclass)}class="{$item->$mapclass}"{/if}
                    style='font-family:{$item->$text}'
                    >{$item->$text|truncate:100|escape:'html'}&nbsp;</option>
            {/foreach}
	{/if}
    </select>{*
    *}{include file="r/parts/past_field.tpl"}
</p>