2015-12-14 16:53:07 +00:00
|
|
|
|
{% extends "withnav_template.html" %}
|
2015-12-10 15:57:32 +00:00
|
|
|
|
{% from "components/sms-message.html" import sms_message %}
|
2016-01-07 20:11:22 +00:00
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
2016-01-12 10:43:23 +00:00
|
|
|
|
{% from "components/textbox.html" import textbox %}
|
2015-11-30 14:17:54 +00:00
|
|
|
|
|
|
|
|
|
|
{% block page_title %}
|
2015-12-10 15:57:32 +00:00
|
|
|
|
GOV.UK Notify | Send text messages
|
2015-11-30 14:17:54 +00:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
2015-12-14 16:53:07 +00:00
|
|
|
|
{% block maincolumn_content %}
|
2015-12-10 21:15:20 +00:00
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="heading-xlarge">Send text messages</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="heading-medium">1. Choose text message template</h2>
|
|
|
|
|
|
{% for template in message_templates %}
|
|
|
|
|
|
<div class="template-picker-option">
|
2015-12-11 14:20:44 +00:00
|
|
|
|
<div class="template-picker-option-radio">
|
|
|
|
|
|
<label class="block-label" for="template-{{loop.index}}">
|
|
|
|
|
|
{{ template.name }}
|
|
|
|
|
|
<input type="radio" name="template" id="template-{{loop.index}}" value="{{ template.name }}" />
|
|
|
|
|
|
</label>
|
|
|
|
|
|
</div>
|
2015-12-11 11:32:24 +00:00
|
|
|
|
{{ sms_message(template.body) }}
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
2016-01-13 12:10:29 +00:00
|
|
|
|
or <a href="{{ url_for(".add_template", service_id=service_id) }}">create a new template</a>
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="heading-medium">2. Add recipients</h2>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
2015-12-11 14:20:44 +00:00
|
|
|
|
Upload a CSV file to add your recipients’ details.
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
2015-12-11 14:20:44 +00:00
|
|
|
|
You can also <a href="#">download an example CSV</a>.
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
2016-01-12 10:43:23 +00:00
|
|
|
|
{{textbox(form.file)}}
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</p>
|
|
|
|
|
|
|
2016-01-07 20:11:22 +00:00
|
|
|
|
{{ page_footer("Continue") }}
|
2015-12-14 16:53:07 +00:00
|
|
|
|
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</form>
|
2015-11-30 14:17:54 +00:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|