{*
    Add the label and other stuff to add before the field
*}
<label for="{$name}" id="lbl_{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}">
    {if !empty($title)}
        <span class="{if isset($labelclass)}{$labelclass}{else}label1{/if}">
            <span title="{$name}">{if isset($i.$title)}{$i.$title}{else}{str_replace('filter_', '', $title)}{/if}{if isset($class) && stripos($class, 'required')!==false}{if isset($us_major_version) && $us_major_version>=15}&#8239;<em class="required">*</em>{else}:{/if}{/if}</span>
        </span>
    {elseif $title === FALSE}
        <span class="{if isset($labelclass)}{$labelclass}{else}label1{/if}">
            <span></span>
        </span>        
    {/if}
</label>
{if isset($add_iconsleft_file)}
    <span id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}_iconsleft" {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}>
        {include file="r_icons/$add_iconsleft_file.tpl"}
    </span>
{/if}
{if isset($deactivate_possible) && $deactivate_possible}
        {include file='r/yn_checkbox.tpl' class=""}
{/if}
