{**************************************}
{******* $name must be set!! **********}
{******* $control must be set!! *******}

{if !$id}
	{assign var=id value=".:id:."}
{/if}

<div>
	<input
		type="checkbox"
		name="{$control}{$id}[{$name}]"
		id="{$name}"
		value="1"
		class="noBorder"
		
		{if $data[$name]}
			checked="checked"
		{/if}
	/>
	
	<label
		onclick="emulateLabel_for('{$name}',this,event);"
		id="{$name}_label"
		>{$_LANG.DTM.tpl.controls.text.repeatable}</label>
</div>