diff --git a/app/models/forms/bulk_upload_lettings_resume/fix_choice.rb b/app/models/forms/bulk_upload_lettings_resume/fix_choice.rb index d266a0dfe..40dcd99cd 100644 --- a/app/models/forms/bulk_upload_lettings_resume/fix_choice.rb +++ b/app/models/forms/bulk_upload_lettings_resume/fix_choice.rb @@ -36,6 +36,14 @@ module Forms raise "invalid choice" end 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." + end + end end end end diff --git a/app/views/bulk_upload_lettings_resume/fix_choice.html.erb b/app/views/bulk_upload_lettings_resume/fix_choice.html.erb index a80ff03e6..cc8e33eaa 100644 --- a/app/views/bulk_upload_lettings_resume/fix_choice.html.erb +++ b/app/views/bulk_upload_lettings_resume/fix_choice.html.erb @@ -11,7 +11,7 @@