X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/823d530ba46c1fb3518c4deef0081738503837eb..2857ac6197adfe972a5e6129a3f26af9e148edb1:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 0383b5e..c45fd2a 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -1,9 +1,12 @@ -<% %> -<%require 'whois/whois' %> -

Results

+<% require 'whois/whois' %> + +
+ Quickvote + Results +
<% if @election.shortdesc %> -

Description:

+

Vote Description:

<%=h @election.shortdesc %> <% if @election.longdesc -%>
@@ -25,14 +28,22 @@ <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details)
-

Winners

+
+ Winner + The chosen method is: + <%= @election.election_method.capitalize %> +
<%= render :partial => 'result_' + @election.election_method, :object => @results[@election.election_method] %>
-

Other Voting Methods

+
+ Other Voting Methods + +
+ <% for result_type in @election.other_methods %>
<%= render :partial => 'result_' + result_type, @@ -41,7 +52,7 @@ <% end %> -
+

Voters <%= link_to "[Stalk Voters]", :controller => "quickvote", :action => "mapvoters", :id => @election.id %>

@@ -78,8 +89,9 @@ <% end %>
-<%=image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%>
+