Save changes

This commit is contained in:
Erin Song 2024-12-05 11:31:58 -08:00
parent 8154d25873
commit b9ea3d8846
No known key found for this signature in database
2 changed files with 2 additions and 7 deletions

View file

@ -789,12 +789,7 @@ class AnythingElseForm(BaseDeletableRegistrarForm):
anything_else = forms.CharField(
required=True,
label="Anything else?",
widget=forms.Textarea(
attrs={
"aria-label": "Is there anything else youd like us to know about your domain request? Provide details below. \
You can enter up to 2000 characters"
}
),
widget=forms.Textarea(),
validators=[
MaxLengthValidator(
2000,

View file

@ -34,7 +34,7 @@
<div class="margin-top-3" id="anything-else">
<p>Provide details below. <abbr class="usa-hint usa-hint--required" title="required">*</abbr></p>
{% with attr_maxlength=2000 add_label_class="usa-sr-only" %}
{% with attr_maxlength=2000 add_label_class="usa-sr-only" add_legend_class="usa-sr-only" add_legend_label="Is there anything else youd like us to know about your domain request?" add_aria_label="Provide details below. You can enter up to 2000 characters" %}
{% input_with_errors forms.3.anything_else %}
{% endwith %}
{# forms.3 is a form for inputting the e-mail of a cisa representative #}