diff --git a/app/models/forms/bulk_upload_form/guidance.rb b/app/models/forms/bulk_upload_form/guidance.rb index 9e2f5f888..4b62caa21 100644 --- a/app/models/forms/bulk_upload_form/guidance.rb +++ b/app/models/forms/bulk_upload_form/guidance.rb @@ -33,19 +33,19 @@ module Forms end def lettings_template_path - Forms::BulkUploadLettings::PrepareYourFile.new(year:).template_path + Forms::BulkUploadForm::PrepareYourFile.new(year:, log_type: "lettings").template_path end def lettings_specification_path - Forms::BulkUploadLettings::PrepareYourFile.new(year:).specification_path + Forms::BulkUploadForm::PrepareYourFile.new(year:, log_type: "lettings").specification_path end def sales_template_path - Forms::BulkUploadSales::PrepareYourFile.new(year:).template_path + Forms::BulkUploadForm::PrepareYourFile.new(year:, log_type: "sales").template_path end def sales_specification_path - Forms::BulkUploadSales::PrepareYourFile.new(year:).specification_path + Forms::BulkUploadForm::PrepareYourFile.new(year:, log_type: "sales").specification_path end end end diff --git a/app/views/bulk_upload_lettings_results/show.html.erb b/app/views/bulk_upload_lettings_results/show.html.erb index b1f9eb6f6..8aba5eaf7 100644 --- a/app/views/bulk_upload_lettings_results/show.html.erb +++ b/app/views/bulk_upload_lettings_results/show.html.erb @@ -10,7 +10,7 @@

We found <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> in your file

- Here’s a list of everything that you need to fix your spreadsheet. You can 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. + Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadForm::PrepareYourFile.new(year: @bulk_upload.year, log_type: "lettings").specification_path, target: "_blank" %> to help you fix the cells in your CSV file.

File name: <%= @bulk_upload.filename %>

diff --git a/app/views/bulk_upload_lettings_results/summary.html.erb b/app/views/bulk_upload_lettings_results/summary.html.erb index 2f565ed59..ab60212e9 100644 --- a/app/views/bulk_upload_lettings_results/summary.html.erb +++ b/app/views/bulk_upload_lettings_results/summary.html.erb @@ -6,7 +6,7 @@

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

File name: <%= @bulk_upload.filename %>

diff --git a/app/views/bulk_upload_sales_results/show.html.erb b/app/views/bulk_upload_sales_results/show.html.erb index 24b09ce6a..f455ad849 100644 --- a/app/views/bulk_upload_sales_results/show.html.erb +++ b/app/views/bulk_upload_sales_results/show.html.erb @@ -10,7 +10,7 @@

We found <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> in your file

- Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file. + Here’s a list of everything that you need to fix your spreadsheet. You can download the <%= govuk_link_to "specification", Forms::BulkUploadForm::PrepareYourFile.new(year: @bulk_upload.year, log_type: "sales").specification_path, target: "_blank" %> to help you fix the cells in your CSV file.

File name: <%= @bulk_upload.filename %>

diff --git a/app/views/bulk_upload_sales_results/summary.html.erb b/app/views/bulk_upload_sales_results/summary.html.erb index 2ae2a915b..ed2ec14b3 100644 --- a/app/views/bulk_upload_sales_results/summary.html.erb +++ b/app/views/bulk_upload_sales_results/summary.html.erb @@ -6,7 +6,7 @@

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::BulkUploadSales::PrepareYourFile.new(year: @bulk_upload.year).specification_path, target: "_blank" %> to help you fix the cells in your CSV file. + We could not create logs from your bulk upload because of the following errors. Download the <%= govuk_link_to "specification", Forms::BulkUploadForm::PrepareYourFile.new(year: @bulk_upload.year, log_type: "sales").specification_path, target: "_blank" %> to help you fix the cells in your CSV file.

File name: <%= @bulk_upload.filename %>