{% extends "withnav_template.html" %} {% from "components/banner.html" import banner_wrapper %} {% from "components/page-footer.html" import page_footer %} {% from "components/table.html" import list_table, text_field, index_field, index_field_heading %} {% from "components/list.html" import list_of_placeholders %} {% block page_title %} GOV.UK Notify {% endblock %} {% block maincolumn_content %}

Confirm changes

{% if template_change.placeholders_removed %}

You removed {{ list_of_placeholders(template_change.placeholders_removed) }}

{% endif %} {% if template_change.placeholders_added %}

You added {{ list_of_placeholders(template_change.placeholders_added) }}

{% endif %}
{{ page_footer( 'Save changes to template', back_link=url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id), back_link_text="Back" ) }}

When you send messages using this template you’ll need {{ new_template.placeholders|length + 1 }} columns of data:

{% call(item, row_number) list_table( example_rows, caption="Example", caption_visible=False, field_headings=[''] + column_headings ) %} {% if 1 == row_number %} {{ index_field('') }} {% else %} {{ index_field(row_number - 1) }} {% endif %} {% for column in item %} {{ text_field(column) }} {% endfor %} {% endcall %}

Developers, you’ll need to update your API calls

{% endblock %}