diff --git a/app/views/hyrax/file_sets/_single_use_link_rows.html.erb b/app/views/hyrax/file_sets/_single_use_link_rows.html.erb index 82525f7620..e1bbe67e8d 100644 --- a/app/views/hyrax/file_sets/_single_use_link_rows.html.erb +++ b/app/views/hyrax/file_sets/_single_use_link_rows.html.erb @@ -13,7 +13,10 @@ <%= link_to t('hyrax.single_use_links.delete'), hyrax.delete_single_use_link_path(params[:id], presenter), - class: 'btn btn-sm btn-danger delete-single-use-link' %> + class: 'btn btn-sm btn-danger delete-single-use-link', + method: :delete, + remote: true, + onclick: 'alert("delete request sent!")' %> <% end %>