2015-12-14 16:53:07 +00:00
|
|
|
|
{% extends "withnav_template.html" %}
|
2015-12-20 00:00:01 +00:00
|
|
|
|
{% from "components/textbox.html" import textbox %}
|
2019-01-14 13:34:23 +00:00
|
|
|
|
{% from "components/page-footer.html" import sticky_page_footer %}
|
2017-01-19 09:35:34 +00:00
|
|
|
|
{% from "components/radios.html" import radios %}
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% from "components/form.html" import form_wrapper %}
|
2015-12-09 10:52:09 +00:00
|
|
|
|
|
2017-02-13 10:45:15 +00:00
|
|
|
|
{% block service_page_title %}
|
|
|
|
|
|
{{ heading_action }} email template
|
2015-12-09 10:52:09 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
2015-12-14 16:53:07 +00:00
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
|
2016-03-11 07:45:10 +00:00
|
|
|
|
<h1 class="heading-large">
|
|
|
|
|
|
{{ heading_action }} email template
|
|
|
|
|
|
</h1>
|
2015-12-09 10:52:09 +00:00
|
|
|
|
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% call form_wrapper() %}
|
2016-02-18 07:44:50 +00:00
|
|
|
|
<div class="grid-row">
|
2017-04-10 10:28:27 +01:00
|
|
|
|
<div class="column-five-sixths">
|
2016-04-14 14:04:41 +01:00
|
|
|
|
{{ textbox(form.name, width='1-1', hint='Your recipients won’t see this', rows=10) }}
|
2016-06-20 11:38:30 +01:00
|
|
|
|
{{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }}
|
2016-04-14 14:00:49 +01:00
|
|
|
|
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
|
2018-02-27 16:45:20 +00:00
|
|
|
|
{% if current_user.platform_admin %}
|
2017-01-19 09:35:34 +00:00
|
|
|
|
{{ radios(form.process_type) }}
|
2017-01-18 15:11:34 +00:00
|
|
|
|
{% endif %}
|
2019-01-14 13:34:23 +00:00
|
|
|
|
{{ sticky_page_footer(
|
|
|
|
|
|
'Save'
|
|
|
|
|
|
) }}
|
2016-02-18 07:44:50 +00:00
|
|
|
|
</div>
|
2016-07-01 17:07:39 +01:00
|
|
|
|
<aside class="column-whole">
|
2016-07-14 16:52:53 +01:00
|
|
|
|
{% include "partials/templates/guidance-formatting.html" %}
|
2016-06-20 11:38:30 +01:00
|
|
|
|
{% include "partials/templates/guidance-personalisation.html" %}
|
2017-02-13 10:45:15 +00:00
|
|
|
|
{% include "partials/templates/guidance-optional-content.html" %}
|
2016-06-20 11:38:30 +01:00
|
|
|
|
{% include "partials/templates/guidance-links.html" %}
|
2018-09-03 16:21:42 +01:00
|
|
|
|
{% if current_service.has_permission('upload_document') %}
|
|
|
|
|
|
{% include "partials/templates/guidance-send-a-document.html" %}
|
|
|
|
|
|
{% endif %}
|
2016-06-20 11:38:30 +01:00
|
|
|
|
</aside>
|
2016-02-18 07:44:50 +00:00
|
|
|
|
</div>
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% endcall %}
|
2015-12-09 10:52:09 +00:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|