mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -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:
@@ -27,8 +27,8 @@
|
||||
{% call form_wrapper() %}
|
||||
{{ textbox(form.feedback, width='1-1', hint='', rows=10, autosize=True) }}
|
||||
{% if not current_user.is_authenticated %}
|
||||
{{ textbox(form.name, width='1-1') }}
|
||||
{{ textbox(form.email_address, width='1-1') }}
|
||||
{{ form.name(param_extensions={"classes": "govuk-!-width-full"}) }}
|
||||
{{ form.email_address(param_extensions={"classes": "govuk-!-width-full"}) }}
|
||||
{% else %}
|
||||
<p class="govuk-body">We’ll reply to {{ current_user.email_address }}</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user