Browse Source

Only display routed to affected questions

pull/1584/head
Kat 3 years ago
parent
commit
4b58c739a3
  1. 2
      app/views/form/_interruption_screen_question.html.erb

2
app/views/form/_interruption_screen_question.html.erb

@ -14,6 +14,7 @@
</h1>
<%= govuk_summary_list do |summary_list| %>
<% soft_validation_affected_questions(question, @log).each do |affected_question| %>
<% if affected_question.page.routed_to?(@log, current_user) %>
<% summary_list.row do |row| %>
<% row.key { get_question_label(affected_question) } %>
<% row.value do %>
@ -43,6 +44,7 @@
<% end %>
<% end %>
<% end %>
<% end %>
<% end %>
<%= f.hidden_field question.id, value: "0" %>

Loading…
Cancel
Save