Replace helper function by decorator methods

This commit is contained in:
kikito
2016-12-05 17:28:30 +01:00
parent 09539028a2
commit 703cc72953
8 changed files with 24 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<li id="<%= dom_id(investment) %>">
<%= link_to investment.title, budget_investment_path(@budget, investment) %>
<span><%= format_price(@budget, investment.price) %></span>
<span><%= investment.formatted_price %></span>
<% if @budget.balloting? %>
<%= link_to budget_ballot_line_path(@budget, id: investment.id),