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

47 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 %}
{% from "components/radios.html" import radios %}
2018-09-19 12:39:36 +01:00
{% from "components/form.html" import form_wrapper %}
2017-02-13 10:45:15 +00:00
{% block service_page_title %}
{{ heading_action }} text message template
{% endblock %}
2015-12-14 16:53:07 +00:00
{% block maincolumn_content %}
2019-04-29 11:44:05 +01:00
{{ page_header(
'{} text message template'.format(heading_action),
back_link=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)
) }}
2018-09-19 12:39:36 +01:00
{% call form_wrapper() %}
2020-02-19 11:57:15 +00:00
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
2020-08-07 12:07:16 +01:00
{{ form.name(param_extensions={
"classes": "govuk-!-width-full",
"hint": {"text": "Your recipients will not see this"}
}) }}
2016-02-18 07:44:50 +00:00
</div>
<div class="govuk-grid-column-two-thirds">
2019-10-16 15:20:05 +01:00
{{ textbox(form.template_content, highlight_placeholders=True, width='1-1', rows=5) }}
{% if current_user.platform_admin %}
{{ radios(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>
<aside class="govuk-grid-column-full">
{% include "partials/templates/guidance-personalisation.html" %}
{% include "partials/templates/guidance-optional-content.html" %}
{% include "partials/templates/guidance-links.html" %}
{% include "partials/templates/guidance-character-count.html" %}
</aside>
2016-02-18 07:44:50 +00:00
</div>
2018-09-19 12:39:36 +01:00
{% endcall %}
{% endblock %}