discourse/app/assets/javascripts/admin/addon/templates/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}}
2022-12-28 07:28:11 -05:00
<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}}