discourse/app/assets/javascripts/admin/templates/site-text-edit.hbs
Joffrey JAFFEUX f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00

21 lines
566 B
Handlebars

<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"}}
{{#save-controls model=siteText action=(action "saveChanges") saved=saved}}
{{#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>