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):
|
class POCForm(ValidatedForm):
|
||||||
fname_poc = StringField(
|
fname_poc = StringField(
|
||||||
"POC First Name",
|
"POC First Name",
|
||||||
validators=[Required(), Alphabet()]
|
validators=[Required()]
|
||||||
)
|
)
|
||||||
|
|
||||||
lname_poc = StringField(
|
lname_poc = StringField(
|
||||||
"POC Last Name",
|
"POC Last Name",
|
||||||
validators=[Required(), Alphabet()]
|
validators=[Required()]
|
||||||
)
|
)
|
||||||
|
|
||||||
email_poc = EmailField(
|
email_poc = EmailField(
|
||||||
|
@ -179,5 +179,9 @@
|
|||||||
level='error'
|
level='error'
|
||||||
) %}
|
) %}
|
||||||
{% end %}
|
{% 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 %}
|
{% end %}
|
||||||
|
@ -26,14 +26,20 @@
|
|||||||
{% block form %}
|
{% block form %}
|
||||||
form goes here
|
form goes here
|
||||||
{% end %}
|
{% end %}
|
||||||
{% block next %}
|
|
||||||
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
|
|
||||||
{% end %}
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% block next %}
|
||||||
|
|
||||||
|
<div class='action-group'>
|
||||||
|
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% end %}
|
||||||
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% end %}
|
{% end %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user