Browse Source

Hides the owning organisation instead (#715)

pull/718/head
Stéphane Meny 3 years ago committed by GitHub
parent
commit
43812e4708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/schemes/check_answers.html.erb

2
app/views/schemes/check_answers.html.erb

@ -10,7 +10,7 @@
<% component.tab(label: "Scheme") do %>
<%= govuk_summary_list do |summary_list| %>
<% @scheme.check_details_attributes.each do |attr| %>
<% next if current_user.data_coordinator? && attr[:name] == ("Managed by") %>
<% next if current_user.data_coordinator? && attr[:name] == ("owned by") %>
<%= summary_list.row do |row| %>
<% row.key { attr[:name].to_s } %>
<% row.value { details_html(attr) } %>

Loading…
Cancel
Save