mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-04 13:30:02 -04:00
Converts them directly in the following forms: - LoginForm - ConfirmPasswordForm Changes the password function to return GovukPasswordField instead of PasswordField which effects the following forms: - RegisterUserForm - RegisterUserFromInviteForm - RegisterUserFromOrgInviteForm - NewPasswordForm - ChangePasswordForm It also updates StringField on RegisterUserFromOrgInviteForm to GovukTextInputField Also includes changes to templates that use this form and associated tests.
29 lines
755 B
HTML
29 lines
755 B
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
{% block per_page_title %}
|
|
Change your {{ thing }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header(
|
|
'Change your {}'.format(thing),
|
|
back_link=back_link
|
|
) }}
|
|
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-three-quarters">
|
|
|
|
{% call form_wrapper(autocomplete=True) %}
|
|
{{ form.password(param_extensions={"autocomplete": "current-password"}) }}
|
|
{{ page_footer('Confirm') }}
|
|
{% endcall %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|