From 1d8742237d2dddcc3e42ab87144c754bf6cf7f47 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Thu, 27 Feb 2025 08:07:22 -0700 Subject: [PATCH 1/9] fixes --- src/registrar/assets/src/js/getgov/formset-forms.js | 5 +++++ .../templates/domain_request_dotgov_domain.html | 10 +++++++--- .../templates/includes/domain_requests_table.html | 4 ++-- src/registrar/templates/includes/domains_table.html | 2 +- src/registrar/templates/includes/members_table.html | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/registrar/assets/src/js/getgov/formset-forms.js b/src/registrar/assets/src/js/getgov/formset-forms.js index 27b85212e..f68650104 100644 --- a/src/registrar/assets/src/js/getgov/formset-forms.js +++ b/src/registrar/assets/src/js/getgov/formset-forms.js @@ -372,6 +372,11 @@ export function initFormsetsForms() { }); }); } + + if (newForm) { + // announce("new form added") + newForm.focus(); + } } } diff --git a/src/registrar/templates/domain_request_dotgov_domain.html b/src/registrar/templates/domain_request_dotgov_domain.html index 91373609d..9a037ab3b 100644 --- a/src/registrar/templates/domain_request_dotgov_domain.html +++ b/src/registrar/templates/domain_request_dotgov_domain.html @@ -61,7 +61,7 @@
-

Alternative domains (optional)

+

Alternative domains (optional)

Are there other domains you’d like if we can’t give @@ -79,19 +79,23 @@ {% endfor %} {% endwith %} {% endwith %} - -

+
Check domain availability
diff --git a/src/registrar/templates/includes/domain_requests_table.html b/src/registrar/templates/includes/domain_requests_table.html index 8adc0929a..f02f9f91c 100644 --- a/src/registrar/templates/includes/domain_requests_table.html +++ b/src/registrar/templates/includes/domain_requests_table.html @@ -25,9 +25,9 @@ Reset - + Reset - + Date: Thu, 27 Feb 2025 10:58:44 -0700 Subject: [PATCH 2/9] add focus on error --- src/registrar/assets/src/js/getgov/formset-forms.js | 5 ----- src/registrar/templates/includes/form_errors.html | 8 +++++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/registrar/assets/src/js/getgov/formset-forms.js b/src/registrar/assets/src/js/getgov/formset-forms.js index f68650104..27b85212e 100644 --- a/src/registrar/assets/src/js/getgov/formset-forms.js +++ b/src/registrar/assets/src/js/getgov/formset-forms.js @@ -372,11 +372,6 @@ export function initFormsetsForms() { }); }); } - - if (newForm) { - // announce("new form added") - newForm.focus(); - } } } diff --git a/src/registrar/templates/includes/form_errors.html b/src/registrar/templates/includes/form_errors.html index 52c82aaf0..816704ed5 100644 --- a/src/registrar/templates/includes/form_errors.html +++ b/src/registrar/templates/includes/form_errors.html @@ -1,16 +1,18 @@ {% if form.errors %}
{% for error in form.non_field_errors %} -