Merge pull request #2268 from alphagov/request-to-go-live-better-data

Make the data we get from the go live requests more useful
This commit is contained in:
Chris Hill-Scott
2018-09-04 16:25:59 +01:00
committed by GitHub
6 changed files with 99 additions and 88 deletions

View File

@@ -21,6 +21,11 @@
{% if hide_legend %}<span class="visually-hidden">{% endif %}
{{ field.label.text|safe }}
{% if hide_legend %}</span>{% endif %}
{% if hint %}
<span class="form-hint">
{{ hint }}
</span>
{% endif %}
{% if field.errors %}
<span class="error-message" data-module="track-error" data-error-type="{{ field.errors[0] }}" data-error-label="{{ field.name }}">
{{ field.errors[0] }}

View File

@@ -13,32 +13,22 @@
<h1 class="heading-large">Request to go live</h1>
<p class="bottom-gutter">
Tell us how you plan to use Notify. When we receive your request well make your service live within one working day.
</p>
<form method="post" class="top-gutter">
{{ checkbox_group('What kind of messages will you be sending?', [
form.channel_email,
form.channel_sms,
form.channel_letter
]) }}
<form method="post">
<div class="form-group">
{{ textbox(form.start_date, width='1-1') }}
{{ textbox(form.start_volume, width='1-1', hint='For example, 1,000 per month.') }}
{{ textbox(form.peak_volume, width='1-1', hint='For example, Messages will increase to 20,000 per month in January.') }}
{{ textbox(form.volume_email, width='1-2', hint='For example, 1,000,000') }}
{{ textbox(form.volume_sms, width='1-2', hint='For example, 500,000') }}
{{ textbox(form.volume_letter, width='1-2', hint='For example, 5,000') }}
</div>
{{ checkbox_group('How are you going to send messages?', [
form.method_one_off,
form.method_upload,
form.method_api
]) }}
{{ radios(form.research_consent, hint='You dont have to take part and you can unsubscribe at any time') }}
<p>
When we receive your request well get back to you within one working day.
</p>
<p class="bottom-gutter">
By requesting to go live youre agreeing to our <a href="{{ url_for('.terms') }}">terms of use</a>.
</p>
{{ page_footer('Request to go live') }}
</form>
{% endblock %}