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
387 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={{action "apply"}}
@class="btn-primary btn-small submit-edit"
@icon="check"
/>
<DButton
@action={{action "cancel"}}
@class="btn-small cancel-edit"
@icon="times"
2022-12-28 20:28:11 +08:00
/>
{{/if}}