mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 03:45:56 +08:00
2742595b00
This commit includes a hack to ensure didInsertElement is called only once.
9 lines
322 B
Handlebars
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}}
|