Normalize location and style for submiting the form
This commit is contained in:
parent
268b721c33
commit
912b267a3d
@ -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(
|
||||
|
@ -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 %}
|
||||
|
@ -26,14 +26,20 @@
|
||||
{% block form %}
|
||||
form goes here
|
||||
{% end %}
|
||||
{% block next %}
|
||||
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
|
||||
{% end %}
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% block next %}
|
||||
|
||||
<div class='action-group'>
|
||||
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
|
||||
</div>
|
||||
|
||||
{% end %}
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
{% end %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user