Fixes error in view: proposals have no likes

This commit is contained in:
kikito
2015-09-12 16:39:55 +02:00
parent 390b5bb5f1
commit a2163c068a

View File

@@ -4,7 +4,7 @@
<%= link_to vote_proposal_path(proposal, value: 'yes'),
class: "like #{voted_classes[:in_favor]}", title: t('votes.agree'), method: "post", remote: true do %>
<i class="icon-like"></i>
<span><%= percentage('likes', proposal) %></span>
<span><%= percentage('total_votes', proposal) %></span>
<% end %>
</div>