Replace link with button in ballot investment component

This commit is contained in:
cyrillefr
2025-03-20 13:46:35 +01:00
parent f8e2a7b5ba
commit 9d0214374b
3 changed files with 6 additions and 5 deletions

View File

@@ -33,6 +33,7 @@
position: absolute;
right: $close-icon-margin;
top: $close-icon-margin;
cursor: pointer;
}
&:hover {

View File

@@ -3,7 +3,7 @@
<%= investment_price %>
<% if budget.balloting? %>
<%= link_to delete_path,
<%= button_to delete_path,
title: t("budgets.ballots.show.remove"),
class: "remove-budget-investment",
method: :delete,