adds votes to spending proposals

This commit is contained in:
rgarcia
2016-03-29 14:53:46 +02:00
parent e52004edc3
commit ed1ec1c553
18 changed files with 327 additions and 3 deletions

View File

@@ -25,5 +25,10 @@
</div>
<div id="<%= dom_id(@spending_proposal) %>_votes" class="small-12 medium-3 column text-center">
<%= render 'votes',
{ spending_proposal: @spending_proposal, vote_url: vote_spending_proposal_path(@spending_proposal, value: 'yes') } %>
</div>
</div>
</section>