<% content_for :title, "Check duplicate logs" %>
<% if @all_duplicates.many? %> <%= govuk_panel( classes: "app-panel--interruption", ) do %>

These logs are duplicates

These logs have the same values for the following fields. Choose one to keep or correct the answers.

<% end %> <% else %>

Make sure these answers are correct

This log had the same answers but it is no longer a duplicate. Make sure the answers are correct.

<% end %> <% @all_duplicates.each_with_index do |log, index| %> <%= render partial: "duplicate_log", locals: { log: } %> <%= render partial: "duplicate_log_check_answers", locals: { log: } %> <%= duplicate_logs_continue_button(@all_duplicates, log, @original_log) %> <% if index < @all_duplicates.count - 1 %>
<% end %> <% end %>