mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-09 22:14:43 +02:00
Revert "446 - Change Type Of Work to About Your Organization"
This commit is contained in:
parent
2b61e4a69d
commit
9622c58c52
17 changed files with 138 additions and 124 deletions
|
@ -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."
|
||||
)
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue