From 555af831f34f632d65076df450880de9b8d2998c Mon Sep 17 00:00:00 2001 From: Dushan Despotovic Date: Wed, 20 Jul 2022 10:59:16 +0100 Subject: [PATCH] lint fixes --- app/views/schemes/details.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/schemes/details.html.erb b/app/views/schemes/details.html.erb index 0abd87520..f8baf47a8 100644 --- a/app/views/schemes/details.html.erb +++ b/app/views/schemes/details.html.erb @@ -64,12 +64,12 @@ <% end %> <% mantype_selection = Scheme.arrangement_types.keys.excluding("Missing").map { |key, _| OpenStruct.new(id: key, name: key.to_s.humanize) } %> - + <%= f.govuk_collection_radio_buttons :arrangement_type, mantype_selection, :id, lambda { |option| - if option.id == "The same organisation that owns the housing stock" && !current_user.support? + if option.id == "The same organisation that owns the housing stock" && !current_user.support? "Your organisation" else option.name