X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/1e8c21d4c4c93721c16a669e330a6d4e60483919..99e1580f0d7707b8e2f8c08f8aae70c3d4906637:/app/views/common/_sortable_vote.rhtml diff --git a/app/views/common/_sortable_vote.rhtml b/app/views/common/_sortable_vote.rhtml index 6876966..0fe6ad1 100644 --- a/app/views/common/_sortable_vote.rhtml +++ b/app/views/common/_sortable_vote.rhtml @@ -1,8 +1,8 @@
    - <% for ranking in @voter.vote.rankings %> + <% for ranking in @voter.vote.rankings.sort %>
  1. - <%=h ranking.candidate.name.capitalize %>
  2. + <%= white_list(ranking.candidate.name.capitalize) %> <% end %>