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

40 lines
1.5 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 %}
{{ heading_action }} email template GOV.UK Notify
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
<h1 class="heading-large">
{{ heading_action }} email template
</h1>
<form method="post">
2016-02-18 07:44:50 +00:00
<div class="grid-row">
<div class="column-two-thirds">
2016-04-14 14:04:41 +01:00
{{ textbox(form.name, width='1-1', hint='Your recipients wont see this', rows=10) }}
2016-02-18 07:44:50 +00:00
</div>
<div class="column-two-thirds">
2016-04-14 14:43:06 +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) }}
{{ 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,
delete_link_text='Delete this template'
) }}
2016-02-18 07:44:50 +00:00
</div>
<div class="column-one-third">
2016-05-20 12:05:05 +01:00
<label for='template_content' class='placeholder-hint banner-mode' data-textboxes-selector='#template_content,#subject' data-target-textbox-selector="#template_content">
<div class="" id="placeholder-hint" aria-live="polite">
2016-05-20 12:05:05 +01:00
<p>Anything in ((double brackets)) gets replaced when you send this message</p>
</div>
2016-02-18 07:44:50 +00:00
</label>
</div>
</div>
</form>
{% endblock %}