{foreach values as key => val} = 0} checked="checked"{/if}> {val} {/foreach}