mirror of
https://github.com/discourse/discourse.git
synced 2025-02-02 10:59:46 +08:00
c3fd91670e
Re-lands #16119 and #17298 * Update eslint-config-discourse * Update linting workflow * Prettier-ignore stuff * Update template-lint config * Auto-fix template issues * Fix various template issues Mostly incorrect attributes and unused templates * Prettier js files * Fix template auto-fix regressions * Small css tweak Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
12 lines
361 B
Handlebars
12 lines
361 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-checkbox" @checked={{c.checked}} {{on "click" (action "changed")}} />
|
|
{{#if c.icon}}
|
|
{{d-icon c.icon}}
|
|
{{/if}}
|
|
{{c.label}}
|
|
</label>
|
|
</div>
|
|
{{/each}}
|