From 04e532c8dbb66fb181b7d7b0de22652677e745e2 Mon Sep 17 00:00:00 2001 From: Luis Cielak Date: Mon, 30 Jul 2018 15:28:12 -0400 Subject: [PATCH] Normalize location and style for submiting the form --- atst/forms/poc.py | 4 ++-- templates/requests/screen-4.html.to | 6 +++++- templates/requests_new.html.to | 14 ++++++++++---- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/atst/forms/poc.py b/atst/forms/poc.py index 48ab749b..24ce108b 100644 --- a/atst/forms/poc.py +++ b/atst/forms/poc.py @@ -8,12 +8,12 @@ from .validators import IsNumber, Alphabet class POCForm(ValidatedForm): fname_poc = StringField( "POC First Name", - validators=[Required(), Alphabet()] + validators=[Required()] ) lname_poc = StringField( "POC Last Name", - validators=[Required(), Alphabet()] + validators=[Required()] ) email_poc = EmailField( diff --git a/templates/requests/screen-4.html.to b/templates/requests/screen-4.html.to index 6756dbef..d1d42eee 100644 --- a/templates/requests/screen-4.html.to +++ b/templates/requests/screen-4.html.to @@ -179,5 +179,9 @@ level='error' ) %} {% end %} - + +
+ +
+ {% end %} diff --git a/templates/requests_new.html.to b/templates/requests_new.html.to index c38a036c..5a309f26 100644 --- a/templates/requests_new.html.to +++ b/templates/requests_new.html.to @@ -26,14 +26,20 @@ {% block form %} form goes here {% end %} - {% block next %} - - {% end %} - + + {% block next %} + +
+ +
+ + {% end %} + + {% end %}