| ... | ... |
@@ -3,13 +3,8 @@ |
| 3 | 3 |
<div class="checkbox-group"> |
| 4 | 4 |
{{each options}}
|
| 5 | 5 |
<label class="tap-highlight"> |
| 6 |
- <span class="label">{{{this.label}}}</span>
|
|
| 7 |
- <input |
|
| 8 |
- type="checkbox" |
|
| 9 |
- value="{{this.value}}"
|
|
| 10 |
- name="clay-{{clayId}}"
|
|
| 11 |
- {{each key: attributes}}{{key}}="{{this}}"{{/each}}
|
|
| 12 |
- /> |
|
| 6 |
+ <span class="label">{{{this}}}</span>
|
|
| 7 |
+ <input type="checkbox" value="1" name="clay-{{clayId}}" />
|
|
| 13 | 8 |
<i></i> |
| 14 | 9 |
</label> |
| 15 | 10 |
{{/each}}
|
| ... | ... |
@@ -3,8 +3,13 @@ |
| 3 | 3 |
<div class="checkbox-group"> |
| 4 | 4 |
{{each options}}
|
| 5 | 5 |
<label class="tap-highlight"> |
| 6 |
- <span class="label">{{{this}}}</span>
|
|
| 7 |
- <input type="checkbox" value="1" name="clay-{{clayId}}" />
|
|
| 6 |
+ <span class="label">{{{this.label}}}</span>
|
|
| 7 |
+ <input |
|
| 8 |
+ type="checkbox" |
|
| 9 |
+ value="{{this.value}}"
|
|
| 10 |
+ name="clay-{{clayId}}"
|
|
| 11 |
+ {{each key: attributes}}{{key}}="{{this}}"{{/each}}
|
|
| 12 |
+ /> |
|
| 8 | 13 |
<i></i> |
| 9 | 14 |
</label> |
| 10 | 15 |
{{/each}}
|
| 1 | 1 |
new file mode 100755 |
| ... | ... |
@@ -0,0 +1,15 @@ |
| 1 |
+<div class="component component-checkbox"> |
|
| 2 |
+ <span class="label">{{{label}}}</span>
|
|
| 3 |
+ <div class="checkbox-group"> |
|
| 4 |
+ {{each options}}
|
|
| 5 |
+ <label class="tap-highlight"> |
|
| 6 |
+ <span class="label">{{{this}}}</span>
|
|
| 7 |
+ <input type="checkbox" value="1" name="clay-{{clayId}}" />
|
|
| 8 |
+ <i></i> |
|
| 9 |
+ </label> |
|
| 10 |
+ {{/each}}
|
|
| 11 |
+ </div> |
|
| 12 |
+ {{if description}}
|
|
| 13 |
+ <div class="description">{{{description}}}</div>
|
|
| 14 |
+ {{/if}}
|
|
| 15 |
+</div> |