Browse Source

lint fixes

pull/761/head
Dushan Despotovic 3 years ago
parent
commit
555af831f3
  1. 4
      app/views/schemes/details.html.erb

4
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

Loading…
Cancel
Save