mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:03:41 +08:00
15 lines
387 B
Handlebars
15 lines
387 B
Handlebars
{{#each field.choices as |c|}}
|
|
<div class="checkbox-field-choice {{fieldClass}}">
|
|
<label id={{c.id}} value={{c.label}}>
|
|
{{input type="checkbox"
|
|
class="wizard-checkbox"
|
|
click=(action "changed" value="target")
|
|
checked=c.checked}}
|
|
{{#if c.icon}}
|
|
{{d-icon c.icon}}
|
|
{{/if}}
|
|
{{c.label}}
|
|
</label>
|
|
</div>
|
|
{{/each}}
|