Improves styles for debate show and comments

This commit is contained in:
Alberto Garcia Cabeza
2015-08-11 13:16:24 +02:00
parent f9e0dad7a2
commit d5c27b36d5
4 changed files with 78 additions and 34 deletions

View File

@@ -1,11 +1,19 @@
<span>
númerototal votos
</span>
&nbsp;|&nbsp;
<span class="in_favor">
<%= link_to "up", vote_comment_path(comment, value: 'yes'),
method: "post", remote: true %>
<%= link_to vote_comment_path(comment, value: 'yes'),
method: "post", remote: true do %>
<i class="icon-angle-up"></i>
<% end %>
<%= comment.get_likes.size %>
</span>
<span class="against">
<%= link_to "down", vote_comment_path(comment, value: 'no'),
method: "post", remote: true %>
<%= link_to vote_comment_path(comment, value: 'no'),
method: "post", remote: true do %>
<i class="icon-angle-down"></i>
<% end %>
<%= comment.get_dislikes.size %>
</span>