Require financial verification funding field to have a selection
This commit is contained in:
parent
070fe823d3
commit
4a1a3571bc
@ -1,7 +1,7 @@
|
|||||||
import re
|
import re
|
||||||
from wtforms.fields.html5 import EmailField
|
from wtforms.fields.html5 import EmailField
|
||||||
from wtforms.fields import StringField, SelectField
|
from wtforms.fields import StringField, SelectField
|
||||||
from wtforms.validators import Required, Email
|
from wtforms.validators import Required, Email, InputRequired
|
||||||
|
|
||||||
from atst.domain.exceptions import NotFoundError
|
from atst.domain.exceptions import NotFoundError
|
||||||
from atst.domain.pe_numbers import PENumbers
|
from atst.domain.pe_numbers import PENumbers
|
||||||
@ -106,7 +106,8 @@ class FinancialForm(ValidatedForm):
|
|||||||
("OM", "Operations & Maintenance (O&M)"),
|
("OM", "Operations & Maintenance (O&M)"),
|
||||||
("PROC", "Procurement (PROC)"),
|
("PROC", "Procurement (PROC)"),
|
||||||
("OTHER", "Other"),
|
("OTHER", "Other"),
|
||||||
]
|
],
|
||||||
|
validators=[InputRequired()]
|
||||||
)
|
)
|
||||||
|
|
||||||
funding_type_other = StringField(
|
funding_type_other = StringField(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user