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

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

12 lines
360 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}}