mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
Do the thing
This commit is contained in:
parent
8cf2c96256
commit
84f85d944f
3 changed files with 21 additions and 6 deletions
|
@ -794,6 +794,21 @@ 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