2015-11-30 14:17:54 +00:00
|
|
|
|
{% extends "admin_template.html" %}
|
2015-12-10 15:57:32 +00:00
|
|
|
|
{% from "components/sms-message.html" import sms_message %}
|
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 %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2015-12-10 21:15:20 +00:00
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
|
|
<div class="grid-row">
|
|
|
|
|
|
<div class="column-two-thirds">
|
|
|
|
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
<label>
|
|
|
|
|
|
<span class="template-picker-name">{{ template.name }}</span>
|
|
|
|
|
|
<input type="radio" name="template" value="{{ template.name }}" />
|
|
|
|
|
|
{{ sms_message(template.body) }}
|
|
|
|
|
|
</label>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
<a href="{{ url_for(".managetemplates") }}">Create a new template</a>
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="heading-medium">2. Add recipients</h2>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
Add recipients by uploading a CSV
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
Format the cells as ‘text’ in your spreadsheet app – this stores the mobile
|
|
|
|
|
|
numbers correctly
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
You can also <a href="#">download an example</a>
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
<input type="file" />
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
|
|
|
|
<input type="submit" class="button" value="Continue" />
|
|
|
|
|
|
</p>
|
2015-12-10 17:33:01 +00:00
|
|
|
|
</div>
|
2015-12-10 21:15:20 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
2015-11-30 14:17:54 +00:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|