X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/da6c29f53b3598a6d2d9959df277b0340bc54cee..3062c2d0a2b51fdf3c6b1f3bbd35d524020890a7:/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 %>