mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 17:15:25 +08:00
4cadad9a53
The save action clashed with the save component argument
Followup to a433b30650
44 lines
977 B
Handlebars
44 lines
977 B
Handlebars
<div class="row">
|
|
<div class="admin-controls">
|
|
<nav>
|
|
<ul class="nav nav-pills">
|
|
<li>
|
|
<LinkTo
|
|
@route="adminCustomizeEmailStyle.edit"
|
|
@model="html"
|
|
@replace={{true}}
|
|
>
|
|
{{i18n "admin.customize.email_style.html"}}
|
|
</LinkTo>
|
|
</li>
|
|
<li>
|
|
<LinkTo
|
|
@route="adminCustomizeEmailStyle.edit"
|
|
@model="css"
|
|
@replace={{true}}
|
|
>
|
|
{{i18n "admin.customize.email_style.css"}}
|
|
</LinkTo>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<AceEditor
|
|
@content={{this.editorContents}}
|
|
@mode={{this.currentEditorMode}}
|
|
@editorId={{this.editorId}}
|
|
@save={{@save}}
|
|
/>
|
|
|
|
<div class="admin-footer">
|
|
<div class="buttons">
|
|
<DButton
|
|
@action={{action "reset"}}
|
|
@disabled={{this.resetDisabled}}
|
|
@class="btn-default"
|
|
@label="admin.customize.email_style.reset"
|
|
/>
|
|
</div>
|
|
</div> |