discourse/app/assets/javascripts/admin/addon/components/inline-edit-checkbox.hbs

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

16 lines
377 B
Handlebars
Raw Normal View History

<label class="checkbox-label">
<Input @type="checkbox" disabled={{this.disabled}} @checked={{this.buffer}} />
{{i18n this.labelKey}}
</label>
{{#if this.changed}}
<DButton
@action={{this.apply}}
@icon="check"
class="btn-primary btn-small submit-edit"
/>
<DButton
@action={{this.cancel}}
@icon="xmark"
class="btn-small cancel-edit"
2022-12-28 20:28:11 +08:00
/>
{{/if}}