[{foreach from=$checkboxes item=chk}]
	<input type="checkbox" name="[{$id}]_[{$chk.name}]" id="[{$id}]_[{$chk.name}]" [{if $chk.checked}]checked="checked"[{/if}] [{$attrs}] /> [{$chk.label}]
[{/foreach}]
