diff --git a/app/views/providers/cookies/show.html.erb b/app/views/providers/cookies/show.html.erb index e7d4e5bf74f..6cf0210c5e5 100644 --- a/app/views/providers/cookies/show.html.erb +++ b/app/views/providers/cookies/show.html.erb @@ -22,31 +22,29 @@

<%= t(".cookies_are_files") %>

<%= t(".we_use_cookies") %>

-

<%= t(".heading_2") %>

-

<%= t(".we_use_ga") %>

-

<%= t(".we_do_not_allow") %>

-

<%= t(".google_analytics") %>

+ <%= form.govuk_radio_buttons_fieldset :cookies_enabled, + legend: { size: "m", tag: "h2", text: t(".heading_2") } do %> - <%= list_from_translation_path(".cookies.show") %> +

<%= t(".we_use_ga") %>

+

<%= t(".we_do_not_allow") %>

+

<%= t(".google_analytics") %>

-
+ - <%= form.govuk_radio_buttons_fieldset :cookies_enabled, - legend: { size: "m", tag: "h2", text: t(".heading_2"), hidden: true } do %> <%= form.govuk_radio_button :cookies_enabled, true, link_errors: true, label: { text: t(".use_this_cookie") } %> <%= form.govuk_radio_button :cookies_enabled, false, label: { text: t(".do_not_use") } %> <% end %> -
-

<%= t(".heading_3") %>

<%= t(".these_essential_cookies") %>

<%= t(".they_always_need") %>

<%= govuk_link_to(t(".find_out_more_link"), "https://www.gov.uk/help/cookie-details") %>

-
- <%= form.govuk_submit(t(".save_changes_btn")) %> <% end %> <% end %> diff --git a/config/locales/en/providers.yml b/config/locales/en/providers.yml index d49ccb2d737..85ae8143a35 100644 --- a/config/locales/en/providers.yml +++ b/config/locales/en/providers.yml @@ -202,11 +202,11 @@ en: heading_2: Cookies that measure website use we_use_ga: We use Google Analytics to measure how you use the service so we can improve it based on user needs. we_do_not_allow: We do not allow Google to use or share the data about how you use this site. - google_analytics: Google Analytics sets cookies that store anonymised information about - list: | - how you got to the site - the pages you visit on Apply for legal aid, and how long you spend on each page - what you click on while you're visiting the site + google_analytics: "Google Analytics sets cookies that store anonymised information about:" + list: + - how you got to the site + - the pages you visit on Apply for legal aid, and how long you spend on each page + - what you click on while you're visiting the site use_this_cookie: Use this cookie to measure my website use do_not_use: Do not use this cookie to measure my website use heading_3: Strictly necessary cookies