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 %}
|
|
|
|
|
GOV.UK Notify | Edit template
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2015-12-14 16:53:07 +00:00
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
2015-12-20 00:00:01 +00:00
|
|
|
<h1 class="heading-xlarge">{{ h1 }}</h1>
|
2015-12-09 10:52:09 +00:00
|
|
|
|
2015-12-20 00:00:01 +00:00
|
|
|
<form method="post">
|
2016-01-11 13:15:10 +00:00
|
|
|
{{ textbox(form.template_name) }}
|
|
|
|
|
{{ textbox(form.template_body, highlight_tags=True) }}
|
2016-01-07 20:11:22 +00:00
|
|
|
{{ page_footer(
|
2016-01-14 09:44:06 +00:00
|
|
|
'Save',
|
|
|
|
|
delete_link=url_for('.delete_template', service_id=service_id, template_id=template_id) if template_id or None,
|
2016-01-13 16:27:54 +00:00
|
|
|
back_link=url_for('.manage_templates', service_id=service_id),
|
|
|
|
|
back_link_text='Back to templates'
|
2016-01-07 20:11:22 +00:00
|
|
|
) }}
|
2015-12-20 00:00:01 +00:00
|
|
|
</form>
|
2015-12-09 10:52:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|