From 7e80ad612f1a5adbd03f2d2e6597b8f7fa6c8819 Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Tue, 6 Jun 2023 12:30:10 +0100 Subject: [PATCH] remove cannot delete warning (#1650) --- app/views/bulk_upload_lettings_resume/confirm.html.erb | 4 ---- .../confirm.html.erb | 4 ---- app/views/bulk_upload_sales_resume/confirm.html.erb | 4 ---- .../bulk_upload_sales_soft_validations_check/confirm.html.erb | 4 ---- 4 files changed, 16 deletions(-) diff --git a/app/views/bulk_upload_lettings_resume/confirm.html.erb b/app/views/bulk_upload_lettings_resume/confirm.html.erb index a61a73651..a2e3cef8e 100644 --- a/app/views/bulk_upload_lettings_resume/confirm.html.erb +++ b/app/views/bulk_upload_lettings_resume/confirm.html.erb @@ -9,10 +9,6 @@

<%= pluralize_logs_and_errors_warning(@bulk_upload.logs.count, @bulk_upload.bulk_upload_errors.count) %>

- <%= govuk_warning_text(icon_fallback_text: "Danger") do %> - You can not delete logs once you create them - <% 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 %> diff --git a/app/views/bulk_upload_lettings_soft_validations_check/confirm.html.erb b/app/views/bulk_upload_lettings_soft_validations_check/confirm.html.erb index 8f29801da..095bf77b4 100644 --- a/app/views/bulk_upload_lettings_soft_validations_check/confirm.html.erb +++ b/app/views/bulk_upload_lettings_soft_validations_check/confirm.html.erb @@ -9,10 +9,6 @@

There are <%= pluralize(@bulk_upload.logs.count, "log") %> in this bulk upload, and <%= pluralize(@bulk_upload.bulk_upload_errors.count, "unexpected answer") %> will be marked as correct.

- <%= govuk_warning_text(icon_fallback_text: "Danger") do %> - You can not delete logs once you create them - <% end %> - <%= form_with model: @form, scope: :form, url: page_bulk_upload_lettings_soft_validations_check_path(@bulk_upload, page: "confirm"), method: :patch do |f| %> <%= f.govuk_submit %> diff --git a/app/views/bulk_upload_sales_resume/confirm.html.erb b/app/views/bulk_upload_sales_resume/confirm.html.erb index 3230702f3..e0081f46b 100644 --- a/app/views/bulk_upload_sales_resume/confirm.html.erb +++ b/app/views/bulk_upload_sales_resume/confirm.html.erb @@ -9,10 +9,6 @@

There are <%= pluralize(@bulk_upload.logs.count, "log") %> in this bulk upload with <%= pluralize(@bulk_upload.bulk_upload_errors.count, "error") %> that still need to be fixed after upload.

- <%= govuk_warning_text(icon_fallback_text: "Danger") do %> - You can not delete logs once you create them - <% end %> - <%= form_with model: @form, scope: :form, url: page_bulk_upload_sales_resume_path(@bulk_upload, page: "confirm"), method: :patch do |f| %> <%= f.govuk_submit %> diff --git a/app/views/bulk_upload_sales_soft_validations_check/confirm.html.erb b/app/views/bulk_upload_sales_soft_validations_check/confirm.html.erb index 2eb9df34e..11c69c1eb 100644 --- a/app/views/bulk_upload_sales_soft_validations_check/confirm.html.erb +++ b/app/views/bulk_upload_sales_soft_validations_check/confirm.html.erb @@ -9,10 +9,6 @@

There are <%= pluralize(@bulk_upload.logs.count, "log") %> in this bulk upload, and <%= pluralize(@bulk_upload.bulk_upload_errors.count, "unexpected answer") %> will be marked as correct.

- <%= govuk_warning_text(icon_fallback_text: "Danger") do %> - You can not delete logs once you create them - <% end %> - <%= form_with model: @form, scope: :form, url: page_bulk_upload_sales_soft_validations_check_path(@bulk_upload, page: "confirm"), method: :patch do |f| %> <%= f.govuk_submit %>