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 %}
|
2016-01-07 20:11:22 +00:00
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
2015-12-09 10:52:09 +00:00
|
|
|
|
|
|
|
|
|
|
{% block page_title %}
|
2016-03-11 07:45:10 +00:00
|
|
|
|
{{ heading_action }} email template – GOV.UK Notify
|
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
|
|
|
|
|
2016-02-01 16:57:29 +00:00
|
|
|
|
<form method="post">
|
2016-02-18 07:44:50 +00:00
|
|
|
|
<div class="grid-row">
|
2016-07-14 16:52:53 +01:00
|
|
|
|
<div class="column-three-quarters">
|
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-02-18 07:44:50 +00:00
|
|
|
|
</div>
|
2016-07-14 16:52:53 +01:00
|
|
|
|
<div class="column-three-quarters">
|
2016-04-14 14:00:49 +01:00
|
|
|
|
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
|
2016-03-30 11:39:16 +01:00
|
|
|
|
{{ page_footer(
|
|
|
|
|
|
'Save',
|
2016-04-13 16:19:34 +01:00
|
|
|
|
delete_link=url_for('.delete_service_template', service_id=current_service.id, template_id=template_id) if template_id or None,
|
2016-03-30 11:39:16 +01:00
|
|
|
|
delete_link_text='Delete this template'
|
|
|
|
|
|
) }}
|
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" %}
|
2016-11-11 11:43:56 +00:00
|
|
|
|
{% include "partials/templates/guidance-optional-content.html" %}
|
2016-06-20 11:38:30 +01:00
|
|
|
|
{% include "partials/templates/guidance-links.html" %}
|
|
|
|
|
|
</aside>
|
2016-02-18 07:44:50 +00:00
|
|
|
|
</div>
|
2016-02-01 16:57:29 +00:00
|
|
|
|
</form>
|
2015-12-09 10:52:09 +00:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|