discourse/app/assets/javascripts/admin/addon/components/theme-settings-editor.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
608 B
Handlebars
Raw Normal View History

<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 "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>