mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 03:15:48 +08:00
23 lines
544 B
Handlebars
23 lines
544 B
Handlebars
|
<div class="settings-editor">
|
||
|
<div>
|
||
|
<AceEditor @mode="html" @content={{this.editedContent}} />
|
||
|
|
||
|
{{#each this.errors as |error|}}
|
||
|
<div class="validation-error">
|
||
|
{{d-icon "times"}}
|
||
|
<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>
|