{{#if view.showVotes}}
  {{#if view.canSeeWhoVoted}}
    <a href='#' class='total' {{action whoActed view.post.voteAction target="controller"}} title="{{i18n vote.who_voted}}">{{view.post.voteAction.count}}</a>
  {{else}}
    <div {{bindAttr class=":total view.post.voteAction.acted:chosen"}}>{{view.post.voteAction.count}}</div>
  {{/if}}

  {{#if view.showVoteControls}}
    <button class='btn small' {{bindAttr disabled="view.voteDisabled"}} {{action vote target="view.post"}} title="{{i18n vote.help}}"><i class='fa fa-check-square-o'></i><br/>{{view.voteButtonText}}</button>
  {{else}}
    <button class='btn small' {{action cantVote target="view.post"}}><i class='fa fa-check-square-o'></i><br/>{{view.voteButtonText}}</button>
  {{/if}}

  {{#if view.post.voteAction.can_undo}}
    <a href="#" class='undo' {{action undoVote target="view.post"}}>undo</a>
  {{/if}}
{{/if}}
