Merge branch 'main' of https://github.com/cisagov/manage.get.gov into es/2914-request-purpose-screenreader

This commit is contained in:
Erin Song 2024-12-05 14:07:11 -08:00
commit 5471e201f7
No known key found for this signature in database
5 changed files with 28 additions and 11 deletions

View file

@ -799,6 +799,22 @@ class AnythingElseForm(BaseDeletableRegistrarForm):
)
class PortfolioAnythingElseForm(BaseDeletableRegistrarForm):
"""The form for the portfolio additional details page. Tied to the anything_else field."""
anything_else = forms.CharField(
required=False,
label="Anything else?",
widget=forms.Textarea(),
validators=[
MaxLengthValidator(
2000,
message="Response must be less than 2000 characters.",
)
],
)
class AnythingElseYesNoForm(BaseYesNoForm):
"""Yes/no toggle for the anything else question on additional details"""