discourse/app/assets/javascripts/wizard/templates/components/wizard-field-checkboxes.hbs

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

15 lines
387 B
Handlebars
Raw Normal View History

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