@ -36,6 +36,14 @@ module Forms
raise "invalid choice"
end
def recommendation
if BulkUploadErrorSummaryTableComponent.new(bulk_upload:).errors?
"For this many errors we recommend to fix errors in the CSV and re-upload as you may be able to edit many fields at once in a CSV."
else
"For this many errors we recommend to upload logs and fix errors on site as you can easily see the questions and select the appropriate answer."
@ -11,7 +11,7 @@
</div>
<div class="govuk-body">
For this many errors we recommend to fix errors in the CSV and re-upload as you may be able to edit many fields at once in a CSV.
<%= @form.recommendation %>
<%= govuk_details(summary_text: "How to choose between fixing errors on the CORE site or in the CSV") do %>