<input type="hidden" class="{if $complexField}complexField{/if}" name="{if $complexField}{$complexField}[{$id}][{$complexStep}]{else}{$id}{/if}" value="0" />
<input type="checkbox" class="{if $complexField}complexField{/if}" name="{if $complexField}{$complexField}[{$id}][{$complexStep}]{else}{$id}{/if}" id="{$id}" {if $value}checked="checked" {/if} value="1" />
{if $comment}
    <br><span class="small">[[{$comment}]]</span>
{/if}