discourse/app/assets/javascripts/wizard/addon/components/fields/checkboxes.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
409 B
Handlebars
Raw Normal View History

{{#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}}