From 084eaf9e192fbf585c75383404a52d789110c544 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Sat, 27 Oct 2018 09:55:01 -0400 Subject: [PATCH] Inherit email field in information about you form We were previously not doing this since the field did not have a description on it. However, I think it's better that the fields match, so inherit away. --- atst/forms/new_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/forms/new_request.py b/atst/forms/new_request.py index 8c96ab4a..b293e344 100644 --- a/atst/forms/new_request.py +++ b/atst/forms/new_request.py @@ -167,7 +167,7 @@ class InformationAboutYouForm(ValidatedForm): lname_request = inherit_field(USER_FIELDS["last_name"]) - email_request = EmailField("E-mail Address", validators=[InputRequired(), Email()]) + email_request = inherit_field(USER_FIELDS["email"]) phone_number = inherit_field(USER_FIELDS["phone_number"])