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

21 lines
549 B
Handlebars
Raw Normal View History

2016-04-01 05:33:25 +08:00
<div class='edit-site-text'>
2016-04-01 05:33:25 +08:00
<div class='title'>
<h3>{{siteText.id}}</h3>
</div>
2016-04-01 05:33:25 +08:00
{{expanding-text-area value=buffered.value rows="1" class="site-text-value"}}
{{#save-controls model=siteText action="saveChanges" saved=saved}}
{{#if siteText.can_revert}}
{{d-button action="revertChanges" label="admin.site_text.revert" class="revert-site-text"}}
{{/if}}
2016-04-01 05:33:25 +08:00
{{/save-controls}}
{{#link-to 'adminSiteText.index' class="go-back"}}
{{fa-icon 'arrow-left'}}
{{i18n 'admin.site_text.go_back'}}
{{/link-to}}
</div>