removes investments from sidebar
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<span><%= format_price(@budget, investment.price) %></span>
|
||||
|
||||
<% if @budget.balloting? %>
|
||||
<%# link_to budget_ballot_line_path(budget, id: investment.id),
|
||||
<%= link_to budget_ballot_line_path(@budget, id: investment.id),
|
||||
title: t('budgets.ballots.show.remove'),
|
||||
class: "remove-investment-project",
|
||||
method: :delete,
|
||||
remote: true do %>
|
||||
<span class="icon-x"></span>
|
||||
<%# end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user