<input type="checkbox" class="checkbox yes_no {if isset($within_filter) && $within_filter}within_filter{/if}" name="{$name}_yn" id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}_yn" 
	{if NOT $deactivate}checked="checked"{/if}
	{if isset($filter_extra)}{$filter_extra}{/if}
        {if isset($within_filter)}title="{$i.filter_filter_yn}"{/if}
        {if isset($class) && stripos($class, 'required')!==false}required{/if}
        />