mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-25 19:50:49 -04:00
This will stop us repeatedly forgetting to add `novalidate` and `autocomplete='off'` to our forms (which is how most of them are set up). It uses sensible defaults, based on how we most-commonly configure forms: - most of our forms are `post`ed (but this can be overridden) - `autocomplete` should only be enabled where it makes sense, otherwise it’s more annoying than useful (but this can be overriden) - we should never be using HTML5 form validation because our own error styles and messages are better
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/checkbox.html" import checkbox_group %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/radios.html" import radios %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/banner.html" import banner_wrapper %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
|
||
{% block service_page_title %}
|
||
Request to go live
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">Request to go live</h1>
|
||
|
||
{% call form_wrapper() %}
|
||
<div class="form-group">
|
||
{{ 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>
|
||
{{ radios(form.research_consent, hint='You don’t have to take part and you can unsubscribe at any time') }}
|
||
<p>
|
||
When we receive your request we’ll get back to you within one working day.
|
||
</p>
|
||
|
||
|
||
<p class="bottom-gutter">
|
||
By requesting to go live you’re agreeing to our <a href="{{ url_for('.terms') }}">terms of use</a>.
|
||
</p>
|
||
{{ page_footer('Request to go live') }}
|
||
{% endcall %}
|
||
|
||
{% endblock %}
|