mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 06:26:34 +02:00
Merge branch 'main' of https://github.com/cisagov/manage.get.gov into es/2914-request-purpose-screenreader
This commit is contained in:
commit
5471e201f7
5 changed files with 28 additions and 11 deletions
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue