{% extends "admin_template.html" %} {% from "components/sms-message.html" import sms_message %} {% from "components/table.html" import table, field %} {% from "components/placeholder.html" import placeholder %} {% block page_title %} GOV.UK Notify | Send text messages {% endblock %} {% block content %}

Send text messages

Check and confirm

{{ sms_message(message_template) }}

Back

{% for recipient in recipients %} {{ sms_message( message_template|replace_placeholders(recipient), recipient['phone'] ) }} {% endfor %}
{% call(item) table( recipients, caption="Preview of the first 3 recipients", field_headings=[ 'Recipient', placeholder('registration number'), placeholder('date') ] ) %} {% call field() %}{{item['phone']}}{% endcall %} {% call field() %}{{item['registration number']}}{% endcall %} {% call field() %}{{item['date']}}{% endcall %} {% endcall %} {% endblock %}