Place no other contacts reason box on own page

This commit is contained in:
Seamus Johnston 2023-02-22 10:24:02 -06:00
parent dd44d405fa
commit ab34629a7b
No known key found for this signature in database
GPG key ID: 2F21225985069105
8 changed files with 58 additions and 11 deletions

View file

@ -545,6 +545,10 @@ class DomainApplication(TimeStampedModel):
DomainApplication.OrganizationChoices.INTERSTATE,
]
def show_no_other_contacts_rationale(self) -> bool:
"""Show this step if the other contacts are blank."""
return not self.other_contacts.exists()
def is_federal(self) -> Union[bool, None]:
"""Is this application for a federal agency?