Skip to content

Commit

Permalink
Fixes the Single Use Link delete button.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 committed Jan 22, 2025
1 parent 3788d40 commit 9a023dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/hyrax/file_sets/_single_use_link_rows.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
</button>
<%= 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!")' %>
</td>
</tr>
<% end %>

0 comments on commit 9a023dc

Please sign in to comment.