Files
notifications-admin/app/templates/views/service-settings/estimate-usage.html
T

40 lines
1.5 KiB
HTML
Raw Normal View History

2018-02-20 12:15:35 +00:00
{% extends "withnav_template.html" %}
2019-02-15 13:34:29 +00:00
{% from "components/banner.html" import banner_wrapper %}
2018-09-19 12:39:36 +01:00
{% from "components/form.html" import form_wrapper %}
2019-04-29 11:44:05 +01:00
{% from "components/page-header.html" import page_header %}
2019-02-15 11:03:19 +00:00
{% from "components/page-footer.html" import page_footer %}
{% from "components/radios.html" import radios %}
{% from "components/textbox.html" import textbox %}
2018-02-20 12:15:35 +00:00
{% block service_page_title %}
2019-02-27 13:02:37 +00:00
Tell us how many messages you expect to send
2018-02-20 12:15:35 +00:00
{% endblock %}
{% block maincolumn_content %}
2020-02-19 11:57:15 +00:00
<div class="govuk-grid-row">
2019-02-15 11:03:19 +00:00
<div class="column-whole">
2019-02-15 13:34:29 +00:00
{% if not form.at_least_one_volume_filled %}
{% call banner_wrapper(type='dangerous') %}
<h1 class='banner-title'>
2019-02-27 13:02:37 +00:00
Enter the number of messages you expect to send in the next year
2019-02-15 13:34:29 +00:00
</h1>
{% endcall %}
{% else %}
2019-04-29 11:44:05 +01:00
{{ page_header(
'Tell us how many messages you expect to send',
back_link=url_for('main.request_to_go_live', service_id=current_service.id)
) }}
2019-02-15 13:34:29 +00:00
{% endif %}
{% call form_wrapper() %}
2018-02-20 12:15:35 +00:00
<div class="form-group">
2019-02-27 13:02:37 +00:00
{{ textbox(form.volume_email, width='1-2', hint='For example, 50,000') }}
{{ textbox(form.volume_sms, width='1-2', hint='For example, 50,000') }}
{{ textbox(form.volume_letter, width='1-2', hint='For example, 50,000') }}
2018-02-20 12:15:35 +00:00
</div>
2019-09-13 10:36:35 +01:00
{{ radios(form.consent_to_research, hint='You do not have to take part and you can unsubscribe at any time') }}
2019-02-15 11:03:19 +00:00
{{ page_footer('Continue') }}
2018-09-19 12:39:36 +01:00
{% endcall %}
2019-02-15 11:03:19 +00:00
</div>
</div>
2018-02-20 12:15:35 +00:00
{% endblock %}