discourse/app/assets/javascripts/admin/templates/customize-email-templates-edit.hbs

15 lines
484 B
Handlebars

<div class='email-template'>
<label>
{{i18n "admin.customize.email_templates.subject"}}
{{input value=buffered.subject}}
</label>
<label>{{i18n "admin.customize.email_templates.body"}}</label>
{{d-editor value=buffered.body}}
{{#save-controls model=emailTemplate action="saveChanges" saved=saved}}
{{#if emailTemplate.can_revert}}
{{d-button action="revertChanges" label="admin.customize.email_templates.revert"}}
{{/if}}
{{/save-controls}}
</div>