mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 12:18:26 -04:00
Changes those classes so they have the same interface as a GOVUK field when instantiated and render GovukTextInputField HTML. Includes changes to templates that use this form and associated tests.
37 lines
1.2 KiB
HTML
37 lines
1.2 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>
|
||
<p class="govuk-body">Your account will be created with this email: {{invited_org_user.email_address}}</p>
|
||
{% call form_wrapper() %}
|
||
{{ form.name(param_extensions={"classes": "govuk-!-width-three-quarters"}) }}
|
||
<div class="extra-tracking">
|
||
{{ form.mobile_number(param_extensions={
|
||
"classes": "govuk-!-width-three-quarters",
|
||
"hint": {"text": "We’ll send you a security code by text message"}
|
||
}) }}
|
||
</div>
|
||
{{ form.password(param_extensions={
|
||
"classes": "govuk-!-width-three-quarters",
|
||
"hint": {"text": "At least 8 characters"},
|
||
"autocomplete": "new-password"
|
||
}) }}
|
||
{{ page_footer("Continue") }}
|
||
{{form.organisation}}
|
||
{{form.email_address}}
|
||
{% endcall %}
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|