removes investments from sidebar

This commit is contained in:
rgarcia
2016-09-09 19:37:02 +02:00
parent 24740578ff
commit 4ded0350a1
5 changed files with 80 additions and 116 deletions

View File

@@ -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>