mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 17:38:50 -04:00
Submit form was - a confusing name in itself - not descriptive, because it also has an optional ‘back’ link This commit also puts this component in as many pages as possible, stripping out any hard-coded buttons and links. It replaces any usage of buttons for ‘back’, because these are links, not buttons (ie they don’t change any data).
31 lines
1003 B
HTML
31 lines
1003 B
HTML
{% extends "admin_template.html" %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Create an account
|
|
{% endblock %}
|
|
|
|
{% block fullwidth_content %}
|
|
|
|
<div class="grid-row">
|
|
<div class="column-two-thirds">
|
|
<h1 class="heading-xlarge">Create an account</h1>
|
|
|
|
<p>If you've used GOV.UK Notify before, <a href="{{ url_for('.sign_in') }}">sign in to your account</a>.</p>
|
|
|
|
<form autocomplete="off" action="" method="post">
|
|
{{ form.hidden_tag() }}
|
|
|
|
{{ render_field(form.name, class='form-control-2-3') }}
|
|
{{ render_field(form.email_address, class='form-control-2-3') }}
|
|
<span class="font-xsmall">Your email address must end in .gov.uk</span>
|
|
{{ render_field(form.mobile_number, class='form-control-2-3') }}
|
|
{{ render_field(form.password, class='form-control-2-3') }}
|
|
<span class="font-xsmall">Your password must have at least 10 characters</span></label>
|
|
{{ page_footer("Continue") }}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|