X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/85e3fa6d1b4627157bf6ef456b46dc6ceafe54c0..e75d29998f5348be83dde4b6fd8f5aa437c2dc74:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 4c91538..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,7 +23,7 @@-<%= 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 %><% for candidate in @election.candidates.sort %> -
@@ -28,12 +32,12 @@ <%= @election.voters.reject {|v| not v.voted? }.length %>- <%=h candidate.name.capitalize %>
+- <%= white_list(candidate.name.capitalize) %>
<% end %>