From 31f01b12dfde27ba5808c4c2ebd1ba61ab747057 Mon Sep 17 00:00:00 2001 From: Martyn Whitwell Date: Wed, 15 May 2024 13:47:51 +0100 Subject: [PATCH] update govuk_design_system_formbuilder to 4.0.0 --- Gemfile | 2 +- Gemfile.lock | 11 +++++++---- app/views/candidates/schools/index.html.erb | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 248527c709..7cd5600150 100644 --- a/Gemfile +++ b/Gemfile @@ -48,7 +48,7 @@ gem 'yabeda-sidekiq' gem 'dotenv-rails', '>= 2.7.6' -gem 'govuk_design_system_formbuilder', '~> 3.1' +gem 'govuk_design_system_formbuilder', '~> 4.0.0' gem 'notifications-ruby-client' gem 'acts_as_list' diff --git a/Gemfile.lock b/Gemfile.lock index 32c394800e..3bd246336e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -286,14 +286,14 @@ GEM multi_json (~> 1.11) os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) - govuk_design_system_formbuilder (3.3.0) + govuk_design_system_formbuilder (4.0.0) actionview (>= 6.1) activemodel (>= 6.1) activesupport (>= 6.1) - html-attributes-utils (~> 0.9, >= 0.9.2) + html-attributes-utils (~> 1) hashdiff (1.0.1) hashids (1.0.6) - html-attributes-utils (0.9.2) + html-attributes-utils (1.0.2) activesupport (>= 6.1.4.4) htmlentities (4.3.4) httpclient (2.8.3) @@ -359,6 +359,8 @@ GEM net-smtp (0.3.3) net-protocol nio4r (2.7.0) + nokogiri (1.16.5-arm64-darwin) + racc (~> 1.4) nokogiri (1.16.5-x86_64-darwin) racc (~> 1.4) nokogiri (1.16.5-x86_64-linux) @@ -658,6 +660,7 @@ GEM zeitwerk (2.6.13) PLATFORMS + arm64-darwin-23 x86_64-darwin-21 x86_64-darwin-22 x86_64-linux @@ -688,7 +691,7 @@ DEPENDENCIES foreman geocoder get_into_teaching_api_client_faraday! - govuk_design_system_formbuilder (~> 3.1) + govuk_design_system_formbuilder (~> 4.0.0) hashids ice_cube invisible_captcha (>= 2.0.0) diff --git a/app/views/candidates/schools/index.html.erb b/app/views/candidates/schools/index.html.erb index 5cd8aaba18..5b6f4354f6 100644 --- a/app/views/candidates/schools/index.html.erb +++ b/app/views/candidates/schools/index.html.erb @@ -58,7 +58,7 @@
<%= f.govuk_collection_check_boxes :subjects, Candidates::School.subjects, :first, ->(subject) { "#{subject.last} (#{@search.subject_count(subject.first)})" }, - classes: %w(search-subjects-checkboxes), hint: { text: t("helpers.hint.subjects") } %> + class: %w(search-subjects-checkboxes), hint: { text: t("helpers.hint.subjects") } %>