{if isset($list)}{foreach item=item from=$list}
    <label for="{$name}{$item->$id}" class="label3">
        <input name="{$name}" id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}{$item->$id}" type="radio"
               class="radio {if isset($class)}{$class}{/if} {if isset($readonly) && $readonly}ignoredisabled{/if} {if isset($within_filter) && $within_filter}within_filter{/if}"
               value="{$item->$id}"
               {if isset($smarty.post.$name) && $smarty.post.$name eq $item->$id}checked="checked"{elseif isset($default) && $default eq $item->$id}checked="checked"{/if}
               {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}
               {if isset($readonly) && $readonly}disabled="disabled"{/if}
               title="{$item->$text|escape:'html'}"
               {if isset($filter_extra)}{$filter_extra}{/if}
                {if isset($class) && stripos($class, 'required')!==false}required{/if}
               />
        {$item->$text|escape:'html'}
    </label>
{/foreach}{/if}
