diff --git a/app/controllers/admin/settings_controller.rb b/app/controllers/admin/settings_controller.rb index bb5467c2e4..a1782fd44f 100644 --- a/app/controllers/admin/settings_controller.rb +++ b/app/controllers/admin/settings_controller.rb @@ -24,7 +24,6 @@ def form_params :enable_ccms_submission, :linked_applications, :collect_hmrc_data, - :home_address, :special_childrens_act) end diff --git a/app/forms/settings/setting_form.rb b/app/forms/settings/setting_form.rb index 6957d79fbd..0974593241 100644 --- a/app/forms/settings/setting_form.rb +++ b/app/forms/settings/setting_form.rb @@ -8,7 +8,6 @@ class SettingForm < BaseForm :enable_ccms_submission, :linked_applications, :collect_hmrc_data, - :home_address, :special_childrens_act validates :mock_true_layer_data, @@ -17,7 +16,6 @@ class SettingForm < BaseForm :enable_ccms_submission, :linked_applications, :collect_hmrc_data, - :home_address, :special_childrens_act, presence: true end diff --git a/app/views/admin/settings/show.html.erb b/app/views/admin/settings/show.html.erb index e989782acf..c26163798d 100644 --- a/app/views/admin/settings/show.html.erb +++ b/app/views/admin/settings/show.html.erb @@ -66,16 +66,6 @@ legend: { text: t(".labels.collect_hmrc_data") }, ) %> - <%= form.govuk_collection_radio_buttons( - :home_address, - yes_no_options, - :value, - :label, - inline: true, - hint: { text: t(".hints.home_address") }, - legend: { text: t(".labels.home_address") }, - ) %> - <%= form.govuk_collection_radio_buttons( :special_childrens_act, yes_no_options, diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 667f17c76c..ecabb975d8 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -74,7 +74,6 @@ en: enable_evidence_upload: Enable the new evidence upload feature linked_applications: Enable linking and copying cases collect_hmrc_data: Collect HMRC data - home_address: Enable home and 'care of' address special_childrens_act: Enable Special Childrens Act hints: mock_true_layer_data: Select Yes and TrueLayer data will be replaced by mock data from %{bank_transaction_filename} @@ -86,7 +85,6 @@ en: enable_evidence_upload: Select Yes to enable the new evidence upload feature for solicitors linked_applications: Select Yes to enable the linking and copying cases feature for solicitors collect_hmrc_data: Select Yes to enable calls to HMRC for employment data - home_address: Select Yes to enable the home address and care of feature for solicitors special_childrens_act: Select Yes to enable the special childrens act matter type update: notice: Settings have been updated