mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
We could do something with Javascript to only show the selected template. For now this is something that works without Javascript. This means we can put off getting the build and testing pipeline for Javascript set up, which is a bigger and more unknown piece of work.
50 lines
1.1 KiB
HTML
50 lines
1.1 KiB
HTML
{% extends "admin_template.html" %}
|
||
{% from "components/sms-message.html" import sms_message %}
|
||
|
||
{% block page_title %}
|
||
GOV.UK Notify | Send text messages
|
||
{% endblock %}
|
||
|
||
{% block content %}
|
||
|
||
<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 %}
|
||
|
||
<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>
|
||
<a class="button" href="/check-sms" role="button">Continue</a>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|