2016-05-05 08:39:36 +01:00
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
2018-07-18 09:48:19 +01:00
|
|
|
{% from "components/message-count-label.html" import recipient_count_label %}
|
2017-05-04 09:30:55 +01:00
|
|
|
{% from "components/textbox.html" import textbox %}
|
2018-09-19 12:39:36 +01:00
|
|
|
{% from "components/form.html" import form_wrapper %}
|
2016-05-05 08:39:36 +01:00
|
|
|
|
2017-02-13 10:45:15 +00:00
|
|
|
{% block service_page_title %}
|
2017-05-25 13:31:23 +01:00
|
|
|
{{ page_title }}
|
2016-05-05 08:39:36 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
2017-03-13 10:55:15 +00:00
|
|
|
<h1 class="heading-large">
|
2017-05-25 13:31:23 +01:00
|
|
|
{{ page_title }}
|
2017-03-13 10:55:15 +00:00
|
|
|
</h1>
|
2016-05-05 08:39:36 +01:00
|
|
|
|
2018-12-07 10:34:58 +00:00
|
|
|
{% call form_wrapper(
|
2018-12-07 11:41:11 +00:00
|
|
|
class='js-stick-at-top-when-scrolling send-one-off-form' if template.template_type != 'sms' else 'send-one-off-form',
|
2018-12-07 10:34:58 +00:00
|
|
|
module="autofocus"
|
|
|
|
|
) %}
|
2017-05-25 13:31:51 +01:00
|
|
|
<div class="grid-row">
|
2017-10-16 16:51:44 +01:00
|
|
|
<div class="column-two-thirds {% if form.placeholder_value.label.text == 'phone number' %}extra-tracking{% endif %}">
|
2017-05-25 13:31:51 +01:00
|
|
|
{{ textbox(
|
|
|
|
|
form.placeholder_value,
|
|
|
|
|
hint='Optional' if optional_placeholder else None,
|
|
|
|
|
width='1-1',
|
|
|
|
|
) }}
|
|
|
|
|
</div>
|
|
|
|
|
{% if skip_link %}
|
|
|
|
|
<div class="column-one-third">
|
|
|
|
|
<a href="{{ skip_link[1] }}" class="top-gutter-4-3">{{ skip_link[0] }}</a>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2018-07-18 09:48:19 +01:00
|
|
|
{% if link_to_upload %}
|
|
|
|
|
<p>
|
|
|
|
|
<a href="{{ url_for('.send_messages', service_id=current_service.id, template_id=template.id) }}">
|
|
|
|
|
Upload a list of {{ recipient_count_label(999, template.template_type) }}
|
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %}
|
2017-07-19 12:41:14 +01:00
|
|
|
{{ page_footer('Continue', back_link=back_link) }}
|
2018-09-19 12:39:36 +01:00
|
|
|
{% endcall %}
|
2016-05-05 08:39:36 +01:00
|
|
|
|
2017-05-16 16:56:40 +01:00
|
|
|
{{ template|string }}
|
|
|
|
|
|
2016-05-05 08:39:36 +01:00
|
|
|
{% endblock %}
|