Normalize location and style for submiting the form

This commit is contained in:
Luis Cielak 2018-07-30 15:28:12 -04:00
parent 268b721c33
commit 912b267a3d
3 changed files with 17 additions and 7 deletions

View File

@ -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(

View File

@ -179,5 +179,9 @@
level='error'
) %}
{% end %}
<input type='submit' class='usa-button usa-button-primary' value='Submit' {{ "disabled" if not can_submit else "" }} />
<div class='action-group'>
<input type='submit' class='usa-button usa-button-primary' value='Submit' {{ "disabled" if not can_submit else "" }} />
</div>
{% end %}

View File

@ -26,14 +26,20 @@
{% block form %}
form goes here
{% end %}
</div>
</div>
{% block next %}
<div class='action-group'>
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
</div>
{% end %}
</form>
</form>
</div>
</div>
</div>
{% end %}