diff --git a/app/views/system_admin/applicants/duplicates.html.erb b/app/views/system_admin/applicants/duplicates.html.erb index 031436f1..d7aa9301 100644 --- a/app/views/system_admin/applicants/duplicates.html.erb +++ b/app/views/system_admin/applicants/duplicates.html.erb @@ -10,6 +10,7 @@ row.with_cell(text: 'Email') row.with_cell(text: 'Phone number') row.with_cell(text: 'Passport') + row.with_cell(text: 'IP Address') row.with_cell(text: 'Status') end end @@ -37,8 +38,15 @@ row.with_cell(text: duplicate.passport_number) end + if duplicate.applicant.ip_address.present? + row.with_cell(text: govuk_link_to(duplicate.applicant.ip_address, duplicates_path(search: duplicate.applicant.ip_address))) + else + row.with_cell(text: duplicate.applicant.ip_address) + end row.with_cell(text: duplicate.status.humanize) end end end end %> + +<%= govuk_pagination(pagy: @pagy) %>