diff --git a/app/models/scheme.rb b/app/models/scheme.rb index bd1a4b2ee..eedf2ba4f 100644 --- a/app/models/scheme.rb +++ b/app/models/scheme.rb @@ -49,7 +49,7 @@ class Scheme < ApplicationRecord PRIMARY_CLIENT_GROUP = { "Homeless families with support needs": "O", - "Offenders & people at risk of offending": "H", + "Offenders and people at risk of offending": "H", "Older people with support needs": "M", "People at risk of domestic violence": "L", "People with a physical or sensory disability": "A", diff --git a/app/views/schemes/details.html.erb b/app/views/schemes/details.html.erb index 415b1d3e5..d8202d53e 100644 --- a/app/views/schemes/details.html.erb +++ b/app/views/schemes/details.html.erb @@ -40,13 +40,13 @@ :name, legend: { text: "What is this type of scheme?", size: "m" } %> - <% care_acts_selection = Scheme.registered_under_care_acts.keys.reverse.map { |key, _| OpenStruct.new(id: key, name: key.to_s.humanize) } %> - <%= f.govuk_collection_radio_buttons :registered_under_care_act, - care_acts_selection, - :id, - :name, - legend: { text: "Is this scheme registered under the Care Standards Act 2000?", size: "m" } %> + @scheme.care_acts_options_with_hint, + :id, + :name, + :description, + legend: { text: "Is this scheme registered under the Care Standards Act 2000?", size: "m" }, + bold_labels: false %> <% organisations = Organisation.all.map { |org| OpenStruct.new(id: org.id, name: org.name) } %> diff --git a/app/views/schemes/new.html.erb b/app/views/schemes/new.html.erb index 5097102f6..75fc4f8cc 100644 --- a/app/views/schemes/new.html.erb +++ b/app/views/schemes/new.html.erb @@ -44,14 +44,13 @@ :name, legend: { text: "What is this type of scheme?", size: "m" } %> - <% care_acts_selection = @scheme.care_acts_options_with_hints %> - <%= f.govuk_collection_radio_buttons :registered_under_care_act, - care_acts_selection, - :id, - :name, + @scheme.care_acts_options_with_hint, + :id, + :name, :description, - legend: { text: "Is this scheme registered under the Care Standards Act 2000?", size: "m" } %> + legend: { text: "Is this scheme registered under the Care Standards Act 2000?", size: "m" }, + bold_labels: false %> <% if current_user.support? %> <%= f.govuk_collection_select :owning_organisation_id, diff --git a/app/views/schemes/primary_client_group.html.erb b/app/views/schemes/primary_client_group.html.erb index 94ca00065..f4682ebc4 100644 --- a/app/views/schemes/primary_client_group.html.erb +++ b/app/views/schemes/primary_client_group.html.erb @@ -14,7 +14,7 @@