mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-11 23:14:49 +02:00
Unrecognized tribal government more explanation
This commit is contained in:
parent
2c66b3728e
commit
2cd53dc4c8
6 changed files with 148 additions and 6 deletions
|
@ -495,6 +495,17 @@ class DomainApplication(TimeStampedModel):
|
|||
user_choice = self.organization_type
|
||||
return user_choice == DomainApplication.OrganizationChoices.TRIBAL
|
||||
|
||||
def show_tribal_explanation(self) -> bool:
|
||||
"""Show this step if the tribe is not federally or state recognized."""
|
||||
user_choice = self.organization_type
|
||||
if (user_choice == DomainApplication.OrganizationChoices.TRIBAL):
|
||||
# did answer tribal, check the recognition answers
|
||||
if self.federally_recognized_tribe is not None and self.state_recognized_tribe is not None:
|
||||
# have answered these questions
|
||||
if not self.federally_recognized_tribe and not self.state_recognized_tribe:
|
||||
return True
|
||||
return False
|
||||
|
||||
def show_organization_election(self) -> bool:
|
||||
"""Show this step if the answer to the first question implies it.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue