<%= render partial: "bulk_upload_shared/moved_user_banner" %>
Bulk upload for lettings (<%= @bulk_upload.year_combo %>)

Fix <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> and upload file again

We could not create logs from your bulk upload because of the following errors. Download the <%= govuk_link_to "specification", Forms::BulkUploadLettings::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file.

File: <%= @bulk_upload.filename %>

<%= govuk_tabs(title: "Error reports") do |c| %> <% c.with_tab(label: "Summary") do %> <%= render BulkUploadErrorSummaryTableComponent.new(bulk_upload: @bulk_upload) %> <% end %> <% c.with_tab(label: "Full error report") do %> <% @bulk_upload.bulk_upload_errors.order_by_row.order_by_cell.group_by(&:row).each do |_row, errors_for_row| %> <%= render BulkUploadErrorRowComponent.new(bulk_upload_errors: errors_for_row) %> <% end %> <% end %> <% end %>
<%= govuk_button_link_to "Upload your file again", start_bulk_upload_lettings_logs_path(organisation_id: @bulk_upload.organisation_id) %>