From ea98681b24d9812052a5df852997dae4809e543e Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Tue, 15 Dec 2020 11:40:49 +0000 Subject: [PATCH] Update liveSearch selector in set email|letter Changes the selector the live search in the set email and letter branding pages in service settings and organisation settings. The current one targeted the old radios HTML whereas this version targets the same for the GOVUK Frontend radios. --- .../organisations/organisation/settings/set-email-branding.html | 2 +- .../organisation/settings/set-letter-branding.html | 2 +- app/templates/views/service-settings/set-email-branding.html | 2 +- app/templates/views/service-settings/set-letter-branding.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/views/organisations/organisation/settings/set-email-branding.html b/app/templates/views/organisations/organisation/settings/set-email-branding.html index 172448e48..fa76c6ea3 100644 --- a/app/templates/views/organisations/organisation/settings/set-email-branding.html +++ b/app/templates/views/organisations/organisation/settings/set-email-branding.html @@ -24,7 +24,7 @@
{{ live_search( - target_selector='.multiple-choice', + target_selector='.govuk-radios__item', show=True, form=search_form, label='Search branding styles by name', diff --git a/app/templates/views/organisations/organisation/settings/set-letter-branding.html b/app/templates/views/organisations/organisation/settings/set-letter-branding.html index 57114bf98..3dd3d5d7a 100644 --- a/app/templates/views/organisations/organisation/settings/set-letter-branding.html +++ b/app/templates/views/organisations/organisation/settings/set-letter-branding.html @@ -24,7 +24,7 @@
{{ live_search( - target_selector='.multiple-choice', + target_selector='.govuk-radios__item', show=True, form=search_form, label='Search by name', diff --git a/app/templates/views/service-settings/set-email-branding.html b/app/templates/views/service-settings/set-email-branding.html index 43c6d3705..7945b024a 100644 --- a/app/templates/views/service-settings/set-email-branding.html +++ b/app/templates/views/service-settings/set-email-branding.html @@ -24,7 +24,7 @@
{{ live_search( - target_selector='.multiple-choice', + target_selector='.govuk-radios__item', show=True, form=search_form, label='Search branding styles by name', diff --git a/app/templates/views/service-settings/set-letter-branding.html b/app/templates/views/service-settings/set-letter-branding.html index 776627d6d..28ada9262 100644 --- a/app/templates/views/service-settings/set-letter-branding.html +++ b/app/templates/views/service-settings/set-letter-branding.html @@ -24,7 +24,7 @@
{{ live_search( - target_selector='.multiple-choice', + target_selector='.govuk-radios__item', show=True, form=search_form, label='Search by name',