BigW Consortium Gitlab

_votes_inline.html.haml 219 Bytes
Newer Older
1
.votes.votes-inline
2 3 4 5 6 7 8 9
  - unless votable.upvotes.zero?
    .upvotes
      + #{votable.upvotes}
    - unless votable.downvotes.zero?
      \/
  - unless votable.downvotes.zero?
    .downvotes
      \- #{votable.downvotes}