mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-29 16:18:33 -04:00
Changes those fields (and sometimes also regular text input fields) in the following forms: - LoginForm - RegisterUserForm - ChangeEmailForm - FeedbackOrProblem - AcceptAgreementForm - ChangeNameForm (only name field here, but used in the same template field as ChangeEmailForm here: app/templates/views/user-profile/change.html) Also includes changes to templates that use this form and associated tests.
37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
{% extends "withoutnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
|
||
{% block per_page_title %}
|
||
Create an account
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="govuk-grid-row">
|
||
<div class="govuk-grid-column-two-thirds">
|
||
<h1 class="heading-large">Create an account</h1>
|
||
{% call form_wrapper(autocomplete=True) %}
|
||
{{ form.name(param_extensions={"classes": "govuk-!-width-three-quarters"}) }}
|
||
{{ form.email_address(
|
||
param_extensions={
|
||
"hint": {"text": "Must be from a public sector organisation"},
|
||
"classes": "govuk-!-width-three-quarters",
|
||
"autocomplete": "email"
|
||
},
|
||
error_message_with_html=True
|
||
) }}
|
||
<div class="extra-tracking">
|
||
{{ textbox(form.mobile_number, width='3-4', hint='We’ll send you a security code by text message') }}
|
||
</div>
|
||
<input class="govuk-visually-hidden" aria-hidden="true" tabindex="-1" id="defeat-chrome-autocomplete">
|
||
{{ form.password(param_extensions={"hint": {"text": "At least 8 characters"}, "classes": "govuk-!-width-three-quarters", "autocomplete": "new-password"}) }}
|
||
{{form.auth_type}}
|
||
{{ page_footer("Continue") }}
|
||
{% endcall %}
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|