mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-30 21:13:16 +02:00
linter fixes
This commit is contained in:
parent
48d025019f
commit
44da71b007
4 changed files with 32 additions and 38 deletions
|
@ -616,7 +616,8 @@ class PurposeDetailsForm(BaseDeletableRegistrarForm):
|
|||
label="Purpose",
|
||||
widget=forms.Textarea(
|
||||
attrs={
|
||||
"aria-label": "What is the purpose of your requested domain? Describe how you’ll use your .gov domain. \
|
||||
"aria-label": "What is the purpose of your requested domain? \
|
||||
Describe how you’ll use your .gov domain. \
|
||||
Will it be used for a website, email, or something else?"
|
||||
}
|
||||
),
|
||||
|
@ -873,28 +874,6 @@ class CisaRepresentativeYesNoForm(BaseYesNoForm):
|
|||
field_name = "has_cisa_representative"
|
||||
|
||||
|
||||
class PurposeDetailsForm(BaseDeletableRegistrarForm):
|
||||
|
||||
field_name = "purpose"
|
||||
|
||||
purpose = forms.CharField(
|
||||
label="Purpose",
|
||||
widget=forms.Textarea(
|
||||
attrs={
|
||||
"aria-label": "What is the purpose of your requested domain? Describe how you’ll use your .gov domain. \
|
||||
Will it be used for a website, email, or something else?"
|
||||
}
|
||||
),
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
2000,
|
||||
message="Response must be less than 2000 characters.",
|
||||
)
|
||||
],
|
||||
error_messages={"required": "Describe how you’ll use the .gov domain you’re requesting."},
|
||||
)
|
||||
|
||||
|
||||
class AnythingElseForm(BaseDeletableRegistrarForm):
|
||||
anything_else = forms.CharField(
|
||||
required=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue