mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 04:56:19 +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>
9 lines
360 B
Handlebars
9 lines
360 B
Handlebars
<label class="checkbox-label">
|
|
<Input @type="checkbox" disabled={{this.disabled}} @checked={{this.buffer}} />
|
|
{{i18n this.labelKey}}
|
|
</label>
|
|
{{#if this.changed}}
|
|
<DButton @action={{action "apply"}} @class="btn-primary btn-small submit-edit" @icon="check" />
|
|
<DButton @action={{action "cancel"}} @class="btn-small cancel-edit" @icon="times" />
|
|
{{/if}}
|