mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-11 23:14:49 +02:00
Compressing Nicolle and Alysia migrations with mine to be the one migration that rules them all
This commit is contained in:
parent
46acc8382f
commit
6965d593f5
21 changed files with 204 additions and 284 deletions
|
@ -310,28 +310,9 @@ class OrganizationContactForm(RegistrarForm):
|
|||
return federal_agency
|
||||
|
||||
|
||||
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. "
|
||||
),
|
||||
class AboutYourOrganizationForm(RegistrarForm):
|
||||
about_your_organization = forms.CharField(
|
||||
label="About your organization",
|
||||
widget=forms.Textarea(),
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
|
@ -340,9 +321,7 @@ class TypeOfWorkForm(RegistrarForm):
|
|||
)
|
||||
],
|
||||
error_messages={
|
||||
"required": (
|
||||
"Describe how your organization is independent of a state government."
|
||||
)
|
||||
"required": ("Enter more information about your organization.")
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue