2015-11-12 15:08:19 -06:00
|
|
|
<div class='email-template'>
|
2015-11-27 23:46:13 -06:00
|
|
|
<label>{{i18n "admin.customize.email_templates.subject"}}</label>
|
|
|
|
{{#if hasMultipleSubjects}}
|
|
|
|
<h3>{{#link-to 'adminSiteText' (query-params q=hasMultipleSubjects)}}{{i18n "admin.customize.email_templates.multiple_subjects"}}{{/link-to}}</h3>
|
|
|
|
{{else}}
|
2015-11-12 15:08:19 -06:00
|
|
|
{{input value=buffered.subject}}
|
2015-11-27 23:46:13 -06:00
|
|
|
{{/if}}
|
|
|
|
<br>
|
2015-11-12 15:08:19 -06:00
|
|
|
|
2015-11-27 13:14:34 -06:00
|
|
|
<label>{{i18n "admin.customize.email_templates.body"}}</label>
|
|
|
|
{{d-editor value=buffered.body}}
|
2015-11-12 15:08:19 -06:00
|
|
|
|
2015-11-20 11:30:04 -06:00
|
|
|
{{#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}}
|
2015-11-12 15:08:19 -06:00
|
|
|
</div>
|