X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/4559fe1efcc210dae16f5846dc49c2bde6e5c7cf..18e855dc667a8cc547c687bb6e4341e84292202b:/app/views/quickvote/results.rhtml?ds=inline diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index c0de537..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 %> @@ -41,14 +45,6 @@ -<% 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 %>
<%= link_to "[View All Voters]", :controller => "quickvote", :action => "list_voters", :id => @election.id %>
-