<% content_for :before_content do %> <%= govuk_back_link href: @form.back_path %> <% end %>
Upload lettings logs in bulk (<%= @bulk_upload.year_combo %>)

Are you sure you want to upload all logs from this bulk upload?

<%= logs_and_errors_warning(@bulk_upload) %> <%= govuk_link_to "View the error report", @form.error_report_path %>

<% if unique_answers_to_be_cleared(@bulk_upload).present? %> <%= govuk_warning_text do %> <%= deleted_errors_warning_text(@bulk_upload) %> <%= govuk_link_to "See which answers will be deleted", deletion_report_bulk_upload_lettings_resume_path %> <% end %> <% end %>
<%= form_with model: @form, scope: :form, url: page_bulk_upload_lettings_resume_path(@bulk_upload, page: "confirm"), method: :patch do |f| %> <%= f.govuk_submit "Confirm" %> <%= govuk_button_link_to "Cancel", @form.back_path, secondary: true %> <% end %>