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

9 lines
311 B
Handlebars
Raw Normal View History

<label class='checkbox-label'>
{{input type="checkbox" disabled=disabled checked=checkedInternal}}
{{label}}
</label>
{{#if changed}}
{{d-button action="finished" class="btn-primary btn-small submit-edit" icon="check"}}
{{d-button action="cancelled" class="btn-small cancel-edit" icon="times"}}
{{/if}}