X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/df1e1ca70a2c618eb376ea6b61207c726beac31d..9e16ee781aefadbe9b1e92baa47fccf6be7a8405:/app/views/quickvote/results.rhtml?ds=inline diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 3ba74f5..78e74e8 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -5,6 +5,10 @@ Results +
Vote Description:
<%=h @election.shortdesc %> @@ -19,21 +23,21 @@<% for candidate in @election.candidates.sort %> -
- <%=h candidate.name.capitalize %>
+- <%= white_list(candidate.name.capitalize) %>
<% end %>Number of voters:
- <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details) + <%= @election.voters.reject {|v| not v.voted? }.length %>-<%= render :partial => 'result_box', +<%= render :partial => 'common/result_box', :locals => { :method => @election.election_method } %> <% for result_type in @election.other_methods %> -<%= render :partial => 'result_box', +<%= render :partial => 'common/result_box', :locals => { :method => result_type } %> <% end %>