From c0e79918ea8e8f35104c3f7ac5e8febc9803b4c0 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 21 Feb 2022 11:20:58 -0600 Subject: [PATCH] Fix confirm dialog missing --- app/views/admin/donations/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/donations/index.html.erb b/app/views/admin/donations/index.html.erb index 8ed2548..2285a6a 100644 --- a/app/views/admin/donations/index.html.erb +++ b/app/views/admin/donations/index.html.erb @@ -27,7 +27,7 @@ <%= link_to 'Show', admin_donation_path(donation), class: 'btn btn-sm btn-gray' %> <%= link_to 'Edit', edit_admin_donation_path(donation), class: 'btn btn-sm btn-gray' %> <%= link_to 'Destroy', admin_donation_path(donation), class: 'btn btn-sm btn-red', - data: { turbo_method: :delete, confirm: 'Are you sure?' } %> + data: { turbo_method: :delete, turbo_confirm: 'Are you sure?' } %> <% end %>