mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-11 03:59:41 +02:00
review fixes
This commit is contained in:
parent
926aefbd05
commit
cb75ec84c3
11 changed files with 112 additions and 87 deletions
|
@ -625,6 +625,11 @@ class PortfolioAdditionalDetails(DomainRequestWizard):
|
|||
2: FEBAnythingElseYesNoForm
|
||||
3: PortfolioAnythingElseForm
|
||||
"""
|
||||
if not self.requires_feb_questions():
|
||||
for i in range(3):
|
||||
forms[i].mark_form_for_deletion()
|
||||
# If FEB questions aren't required, validate only the anything else form
|
||||
return forms[3].is_valid()
|
||||
eop_forms_valid = True
|
||||
if not forms[0].is_valid():
|
||||
# If the user isn't working with EOP, don't validate the EOP contact form
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue