X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/bf220bde847fd30e9bf0d00dd7c9aff31265c810..da6c29f53b3598a6d2d9959df277b0340bc54cee:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 52810fe..8d8bf5f 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -5,6 +5,10 @@ Results +
+<%= render :partial => 'common/result', :object => @results[@election.election_method] %> +
+ <% if @election.shortdesc %>

Vote Description:

<%=h @election.shortdesc %> @@ -25,15 +29,15 @@

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 %> @@ -41,14 +45,6 @@
-
- Voter Report - -
- -

<%= link_to "[View All Voters]", :controller => "quickvote", :action => "list_voters", :id => @election.id %>

-
-