mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-06 02:12:12 -05:00
You can’t use them to personalise the message, so it’s confusing for the UI to suggest they’re somehow special.
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import sticky_page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
{% block service_page_title %}
|
|
{{ heading_action }} template
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
'{} 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)
|
|
) }}
|
|
|
|
{% call form_wrapper() %}
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-two-thirds">
|
|
{{ form.name(param_extensions={
|
|
"classes": "govuk-!-width-full",
|
|
"hint": {"text": "Your recipients will not see this"},
|
|
}) }}
|
|
</div>
|
|
<div class="govuk-grid-column-two-thirds">
|
|
{{ textbox(form.template_content, highlight_placeholders=False, width='1-1', rows=5) }}
|
|
{{ sticky_page_footer('Save') }}
|
|
</div>
|
|
</div>
|
|
{% endcall %}
|
|
|
|
|
|
{% endblock %}
|