Revert "446 - Change Type Of Work to About Your Organization"

This commit is contained in:
Rebecca H 2023-09-13 14:58:50 -07:00 committed by GitHub
parent 2b61e4a69d
commit 9622c58c52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 138 additions and 124 deletions

View file

@ -378,10 +378,16 @@ class DomainApplication(TimeStampedModel):
help_text="Urbanization (Puerto Rico only)",
)
about_your_organization = models.TextField(
type_of_work = models.TextField(
null=True,
blank=True,
help_text="Information about your organization",
help_text="Type of work of the organization",
)
more_organization_information = models.TextField(
null=True,
blank=True,
help_text="More information about your organization",
)
authorizing_official = models.ForeignKey(
@ -647,7 +653,7 @@ class DomainApplication(TimeStampedModel):
]
return bool(user_choice and user_choice not in excluded)
def show_about_your_organization(self) -> bool:
def show_type_of_work(self) -> bool:
"""Show this step if this is a special district or interstate."""
user_choice = self.organization_type
return user_choice in [