Fixes all management bi issues except filtering by geozone

This commit is contained in:
kikito
2016-12-07 16:35:27 +01:00
parent 2760e751e7
commit b3be1633af
11 changed files with 59 additions and 26 deletions

View File

@@ -2,4 +2,7 @@
<%= render '/shared/print' %>
<%= render partial: '/budgets/investments/investment_show', locals: { investment: @investment, investment_votes: @investment_votes } %>
<%= render partial: '/budgets/investments/investment_show', locals: {
investment: @investment,
investment_votes: @investment_votes
} %>

View File

@@ -1 +1,4 @@
<%= render template: 'budgets/investments/vote' %>
$("#<%= dom_id(@investment) %>_votes").html('<%= j render("/budgets/investments/votes",
investment: @investment,
investment_votes: @investment_votes,
vote_url: namespaced_budget_investment_vote_path(@investment, value: 'yes')) %>');