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

49 lines
1.8 KiB
HTML
Raw Normal View History

2015-12-14 16:53:07 +00:00
{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
2019-04-29 11:44:05 +01:00
{% from "components/page-header.html" import page_header %}
2019-01-14 13:34:23 +00:00
{% from "components/page-footer.html" import sticky_page_footer %}
2018-09-19 12:39:36 +01:00
{% from "components/form.html" import form_wrapper %}
2023-08-30 11:07:38 -04:00
{% from "components/components/back-link/macro.njk" import usaBackLink %}
2017-02-13 10:45:15 +00:00
{% block service_page_title %}
{{ heading_action }} email template
{% endblock %}
{% block backLink %}
2023-08-30 11:07:38 -04:00
{{ usaBackLink({
"href": url_for('main.view_template', service_id=current_service.id, template_id=template.id) if template else url_for('main.choose_template', service_id=current_service.id, template_folder_id=template_folder_id)
}) }}
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
{{ page_header('{} email template'.format(heading_action)) }}
2018-09-19 12:39:36 +01:00
{% call form_wrapper() %}
2023-08-23 16:18:25 -04:00
<div class="grid-row">
<div class="grid-col-10">
2020-08-07 12:07:16 +01:00
{{ form.name(param_extensions={
2023-08-17 15:13:26 -04:00
"classes": "",
2020-08-07 12:07:16 +01:00
"hint": {"text": "Your recipients will not see this"}
}) }}
2019-10-16 15:20:05 +01:00
{{ textbox(form.subject, width='1-1', highlight_placeholders=True, rows=2) }}
{{ textbox(form.template_content, highlight_placeholders=True, width='1-1', rows=8) }}
{% if current_user.platform_admin %}
{{ form.process_type }}
{% endif %}
2019-01-14 13:34:23 +00:00
{{ sticky_page_footer(
'Save'
) }}
2016-02-18 07:44:50 +00:00
</div>
2023-08-23 16:18:25 -04:00
<div class="grid-col-12">
{% include "partials/templates/guidance-formatting.html" %}
2023-10-10 11:07:08 -04:00
{% include "partials/templates/guidance-personalization.html" %}
2017-02-13 10:45:15 +00:00
{% include "partials/templates/guidance-optional-content.html" %}
{% include "partials/templates/guidance-links.html" %}
{% include "partials/templates/guidance-send-a-document.html" %}
</div>
2016-02-18 07:44:50 +00:00
</div>
2018-09-19 12:39:36 +01:00
{% endcall %}
{% endblock %}