Files
notifications-admin/app/templates/views/edit-email-template.html
T

40 lines
1.3 KiB
HTML
Raw Normal View History

2015-12-14 16:53:07 +00:00
{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
2016-01-07 20:11:22 +00:00
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
2016-02-08 09:23:51 +00:00
{{ h1 }} GOV.UK Notify
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
<h1 class="heading-large">Edit email template</h1>
<form method="post">
2016-02-18 07:44:50 +00:00
<div class="grid-row">
<div class="column-two-thirds">
{{ textbox(form.name, width='1-1') }}
2016-02-25 10:32:57 +00:00
{{ textbox(form.subject, width='1-1') }}
2016-02-18 07:44:50 +00:00
</div>
<div class="column-two-thirds">
{{ textbox(form.template_content, highlight_tags=True, width='1-1') }}
</div>
<div class="column-one-third">
<label for='template_content' class='edit-template-placeholder-hint'>
Add placeholders using double brackets, eg Your thing
is due on ((date))
</label>
</div>
</div>
{{ page_footer(
'Save',
delete_link=url_for('.delete_service_template', service_id=service_id, template_id=template_id) if template_id or None,
2016-02-22 12:16:19 +00:00
delete_link_text='Delete this template',
back_link=url_for('.choose_template', template_type=template_type, service_id=service_id),
2016-02-22 12:16:19 +00:00
back_link_text='Cancel'
) }}
</form>
{% endblock %}