Improves styles for debate show and comments
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
<span>
|
||||
númerototal votos
|
||||
</span>
|
||||
|
|
||||
<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>
|
||||
Reference in New Issue
Block a user