2016-11-08 13:12:07 +00:00
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
|
|
{% from "components/textbox.html" import textbox %}
|
|
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
|
|
|
2017-02-13 10:45:15 +00:00
|
|
|
|
{% block service_page_title %}
|
|
|
|
|
|
{{ heading_action }} letter template
|
2016-11-08 13:12:07 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="heading-large">
|
|
|
|
|
|
{{ heading_action }} letter template
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
|
|
<div class="grid-row">
|
|
|
|
|
|
<div class="column-three-quarters">
|
|
|
|
|
|
{{ textbox(form.name, width='1-1', hint='Your recipients won’t see this', rows=10) }}
|
|
|
|
|
|
{{ textbox(form.subject, width='1-1', highlight_tags=True, rows=2) }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="column-three-quarters">
|
|
|
|
|
|
{{ textbox(form.template_content, highlight_tags=True, width='1-1', rows=8) }}
|
|
|
|
|
|
{{ page_footer(
|
|
|
|
|
|
'Save',
|
|
|
|
|
|
delete_link=url_for('.delete_service_template', service_id=current_service.id, template_id=template_id) if template_id or None,
|
|
|
|
|
|
delete_link_text='Delete this template'
|
|
|
|
|
|
) }}
|
|
|
|
|
|
</div>
|
2017-03-03 16:11:17 +00:00
|
|
|
|
<aside class="column-three-quarters">
|
2016-11-08 13:56:02 +00:00
|
|
|
|
{% include "partials/templates/guidance-formatting-letters.html" %}
|
2016-11-08 13:12:07 +00:00
|
|
|
|
{% include "partials/templates/guidance-personalisation.html" %}
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|