<%= form_with model: @form, scope: :form, url: page_bulk_upload_sales_resume_path(@bulk_upload, page: "fix-choice"), method: :patch do |f| %> <%= f.govuk_error_summary %> Upload sales logs in bulk (<%= @bulk_upload.year_combo %>)

How would you like to fix the errors?

File: <%= @bulk_upload.filename %>
<%= bulk_upload_error_summary(@bulk_upload) %>
<%= @form.recommendation %>
<%= govuk_link_to "View the error report", @form.error_report_path %>
<%= govuk_details(summary_text: "How to choose between fixing errors on the CORE site or in the CSV") do %>

You may find it easier to fix the errors in the CSV file if:

<%= govuk_list ["you have a lot of errors", "the CSV file is formatted incorrectly and you can see where the errors are", "you need to fix multiple errors at once"], type: :bullet %>

You may find it easier to fix the errors on the CORE site if:

<%= govuk_list ["you need to see the data in context", "you have a smaller file, with a few errors", "you are not sure where the errors are"], type: :bullet %> <% end %> <%= f.govuk_collection_radio_buttons :choice, @form.options, :id, :name, legend: { hidden: true } %>
<%= f.govuk_submit %> <% if @soft_errors_only %> <%= govuk_button_link_to "Cancel", bulk_upload_sales_soft_validations_check_url(@bulk_upload, page: "confirm-soft-errors"), secondary: true %> <% end %>
<% end %>