mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-07 13:05:36 +02:00
Increase purpose limit
This commit is contained in:
parent
fce679f417
commit
c22107253c
2 changed files with 3 additions and 3 deletions
|
@ -515,8 +515,8 @@ class PurposeForm(RegistrarForm):
|
||||||
widget=forms.Textarea(),
|
widget=forms.Textarea(),
|
||||||
validators=[
|
validators=[
|
||||||
MaxLengthValidator(
|
MaxLengthValidator(
|
||||||
1000,
|
2000,
|
||||||
message="Response must be less than 1000 characters.",
|
message="Response must be less than 2000 characters.",
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
error_messages={"required": "Describe how you’ll use the .gov domain you’re requesting."},
|
error_messages={"required": "Describe how you’ll use the .gov domain you’re requesting."},
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block form_fields %}
|
{% block form_fields %}
|
||||||
{% with attr_maxlength=1000 add_label_class="usa-sr-only" %}
|
{% with attr_maxlength=2000 add_label_class="usa-sr-only" %}
|
||||||
{% input_with_errors forms.0.purpose %}
|
{% input_with_errors forms.0.purpose %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue