mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 05:36:29 +08:00
a914d3230b
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
27 lines
608 B
Handlebars
27 lines
608 B
Handlebars
<div class="settings-editor">
|
|
<div>
|
|
<AceEditor
|
|
@content={{this.editedContent}}
|
|
@onChange={{fn (mut this.editedContent)}}
|
|
@mode="html"
|
|
/>
|
|
|
|
{{#each this.errors as |error|}}
|
|
<div class="validation-error">
|
|
{{d-icon "xmark"}}
|
|
<b>{{error.setting}}</b>:
|
|
{{error.errorMessage}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<DButton
|
|
@action={{this.save}}
|
|
id="save"
|
|
class="btn-primary save"
|
|
@disabled={{this.saveButtonDisabled}}
|
|
@translatedLabel={{i18n "admin.customize.theme.save"}}
|
|
/>
|
|
</div>
|
|
</div> |