discourse/app/assets/javascripts/admin/templates/site-text-edit.hbs

Failed to ignore revisions in .git-blame-ignore-revs.

21 lines
592 B
Handlebars
Raw Normal View History

<div class='edit-site-text'>
<div class='title'>
<h3>{{siteText.id}}</h3>
</div>
{{expanding-text-area value=buffered.value rows="1" class="site-text-value"}}
2019-07-02 09:53:16 +08:00
{{#save-controls model=siteText action=(action "saveChanges") saved=saved saveDisabled=saveDisabled}}
{{#if siteText.can_revert}}
{{d-button action=(action "revertChanges") label="admin.site_text.revert" class="revert-site-text"}}
{{/if}}
{{/save-controls}}
{{#link-to 'adminSiteText.index' class="go-back"}}
{{d-icon 'arrow-left'}}
{{i18n 'admin.site_text.go_back'}}
{{/link-to}}
</div>