Browse Source

refactor: remove redundant line

pull/980/head
natdeanlewissoftwire 2 years ago
parent
commit
39c168b03c
  1. 1
      app/views/schemes/show.html.erb

1
app/views/schemes/show.html.erb

@ -19,7 +19,6 @@
<% next if current_user.data_coordinator? && attr[:name] == ("Housing stock owned by") %>
<%= summary_list.row do |row| %>
<% row.key { attr[:name].eql?("Registered under Care Standards Act 2000") ? "Registered under Care Standards Act 2000" : attr[:name].to_s.humanize } %>
<% row.value { details_html(attr) } %>
<% row.value { attr[:name].eql?("Status") ? status_tag(attr[:value]) : details_html(attr) } %>
<% row.action(text: "Change", href: scheme_edit_name_path(scheme_id: @scheme.id)) if attr[:edit] %>
<% end %>

Loading…
Cancel
Save