Replace link with button in ballot investment component
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
position: absolute;
|
||||
right: $close-icon-margin;
|
||||
top: $close-icon-margin;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user