mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 19:03:45 +08:00
16 lines
409 B
Handlebars
16 lines
409 B
Handlebars
{{#each this.field.choices as |c|}}
|
|
<div class="checkbox-field-choice {{this.fieldClass}}">
|
|
<label id={{c.id}} value={{c.label}}>
|
|
<Input
|
|
@type="checkbox"
|
|
class="wizard-container__checkbox"
|
|
@checked={{c.checked}}
|
|
{{on "click" (action "changed")}}
|
|
/>
|
|
{{#if c.icon}}
|
|
{{d-icon c.icon}}
|
|
{{/if}}
|
|
{{c.label}}
|
|
</label>
|
|
</div>
|
|
{{/each}} |