diff --git a/app/views/duplicate_logs/_duplicate_log.html.erb b/app/views/duplicate_logs/_duplicate_log.html.erb index e08ef5980..a93e63570 100644 --- a/app/views/duplicate_logs/_duplicate_log.html.erb +++ b/app/views/duplicate_logs/_duplicate_log.html.erb @@ -1,4 +1,4 @@ -
These logs have the same values for the following fields. Choose one to keep or correct the answers.
<% end %> - <% @all_duplicates.each do |log| %> + <% @all_duplicates.each_with_index do |log, index| %> <%= render partial: "duplicate_log", locals: { log: log } %> <%= render partial: "duplicate_log_check_answers", locals: { log: log } %> <%= govuk_button_link_to "Keep this log and delete duplicates", "#" %> + <% if index < @all_duplicates.count - 1 %> +