mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/components/back-link/macro.njk" import usaBackLink %}
|
|
|
|
{% block service_page_title %}
|
|
{{ page_title }}
|
|
{% endblock %}
|
|
|
|
{% block backLink %}
|
|
{{ usaBackLink({ "href": back_link }) }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(page_title) }}
|
|
|
|
{{ template|string }}
|
|
|
|
{% call form_wrapper(
|
|
class='js-stick-at-top-when-scrolling send-one-off-form' if template.template_type != 'sms' else 'send-one-off-form',
|
|
module="autofocus",
|
|
data_kwargs={'force-focus': True}
|
|
) %}
|
|
<div class="grid-row">
|
|
<div class="grid-col-12 {% if form.placeholder_value.label.text == 'phone number' %}extra-tracking{% endif %}">
|
|
{{ form.placeholder_value(param_extensions={"classes": ""}) }}
|
|
</div>
|
|
{% if skip_link or link_to_upload %}
|
|
<div class="grid-col-12 margin-top-1">
|
|
{% if link_to_upload %}
|
|
<a class="usa-link margin-right-2" href="{{ url_for('.send_messages', service_id=current_service.id, template_id=template.id) }}">Upload a list of {{ 999|recipient_count_label(template.template_type) }}</a>
|
|
{% endif %}
|
|
{% if skip_link %}
|
|
<a href="{{ skip_link[1] }}" class="usa-link">{{ skip_link[0] }}</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% if link_to_upload %}
|
|
<p>
|
|
|
|
</p>
|
|
{% endif %}
|
|
{{ page_footer('Continue') }}
|
|
{% endcall %}
|
|
|
|
|
|
|
|
{% endblock %}
|