mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 18:22:37 -04:00
The following were added without the macro ever being called: - app/templates/views/add-service-local.html (added in https://github.com/alphagov/notifications-admin/commit/e6f49825e5fdfd798ca2f2622f12342dfd15dbf8) - app/templates/views/service-settings/data-retention/edit.html (added in https://github.com/alphagov/notifications-admin/commit/4b8b571a8768ab71cebb95b0338bec957b016fa2) - app/templates/views/organisations/organisation/settings/edit-domains.html (added in https://github.com/alphagov/notifications-admin/commit/936883bf7bd74a1c3f0892344973de18c14a747c) The following were used when they were first added but not removed when the macro stopped being used: - app/templates/views/edit-letter-template.html (macro removed in https://github.com/alphagov/notifications-admin/commit/20ae200de9e5a36567533f121906d531a1d5a19d) - app/templates/views/organisations/organisation/settings/edit-agreement.html (macro removed in https://github.com/alphagov/notifications-admin/commit/45526598c6b1cda2e54a25dd64f1888da55d5927)
40 lines
1.6 KiB
HTML
40 lines
1.6 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 }} letter template
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
'{} letter 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-five-sixths">
|
|
{{ form.name(param_extensions={
|
|
"classes": "govuk-!-width-full",
|
|
"hint": {"text": "Your recipients will not see this"}
|
|
}) }}
|
|
{{ textbox(form.subject, width='1-1', highlight_placeholders=True, rows=2) }}
|
|
{{ textbox(form.template_content, highlight_placeholders=True, width='1-1', rows=8) }}
|
|
{{ sticky_page_footer(
|
|
'Save'
|
|
) }}
|
|
</div>
|
|
<aside class="govuk-grid-column-three-quarters">
|
|
{% include "partials/templates/guidance-formatting-letters.html" %}
|
|
{% include "partials/templates/guidance-personalisation.html" %}
|
|
{% include "partials/templates/guidance-optional-content.html" %}
|
|
</aside>
|
|
</div>
|
|
{% endcall %}
|
|
|
|
{% endblock %}
|