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

@ -310,9 +310,28 @@ class OrganizationContactForm(RegistrarForm):
return federal_agency
class AboutYourOrganizationForm(RegistrarForm):
about_your_organization = forms.CharField(
label="About your organization",
class TypeOfWorkForm(RegistrarForm):
type_of_work = forms.CharField(
# label has to end in a space to get the label_suffix to show
label="What type of work does your organization do? ",
widget=forms.Textarea(),
validators=[
MaxLengthValidator(
1000,
message="Response must be less than 1000 characters.",
)
],
error_messages={"required": "Enter the type of work your organization does."},
)
more_organization_information = forms.CharField(
# label has to end in a space to get the label_suffix to show
label=(
"Describe how your organization is a government organization that is"
" independent of a state government. Include links to authorizing"
" legislation, applicable bylaws or charter, or other documentation to"
" support your claims. "
),
widget=forms.Textarea(),
validators=[
MaxLengthValidator(
@ -321,7 +340,9 @@ class AboutYourOrganizationForm(RegistrarForm):
)
],
error_messages={
"required": ("Enter more information about your organization.")
"required": (
"Describe how your organization is independent of a state government."
)
},
)