Checkbox groups now return an array of booleans

This commit is contained in:
Keegan
2016-06-15 14:20:35 -07:00
parent cabee3ae0b
commit a0335be710
7 changed files with 44 additions and 59 deletions
+2 -7
View File
@@ -3,13 +3,8 @@
<div class="checkbox-group">
{{each options}}
<label class="tap-highlight">
<span class="label">{{{this.label}}}</span>
<input
type="checkbox"
value="{{this.value}}"
name="clay-{{clayId}}"
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
/>
<span class="label">{{{this}}}</span>
<input type="checkbox" value="1" name="clay-{{clayId}}" />
<i></i>
</label>
{{/each}}