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

9 lines
322 B
Handlebars

<label class="checkbox-label">
{{input type="checkbox" disabled=disabled checked=buffer}}
{{i18n labelKey}}
</label>
{{#if changed}}
{{d-button action=(action "apply") class="btn-primary btn-small submit-edit" icon="check"}}
{{d-button action=(action "cancel") class="btn-small cancel-edit" icon="times"}}
{{/if}}