mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Convert EmailFields to GovukEmailFields
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.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{% extends "org_template.html" %}
|
||||
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
@@ -16,7 +15,12 @@
|
||||
back_link=url_for('.manage_org_users', org_id=current_org.id)
|
||||
) }}
|
||||
{% call form_wrapper() %}
|
||||
{{ textbox(form.email_address, width='1-1', safe_error_message=True) }}
|
||||
{{ form.email_address(
|
||||
param_extensions={
|
||||
"classes": "govuk-!-width-full"
|
||||
},
|
||||
error_message_with_html=True
|
||||
) }}
|
||||
|
||||
<div class="bottom-gutter">
|
||||
<p class="form-label">
|
||||
|
||||
Reference in New Issue
Block a user