X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/ffec26b00fc14b92f82137e1e3c62ce78c93ea24..8964e46880760a85a7c86a239f032c841a96410d:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 0383b5e..a2da83d 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,21 @@ <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details)
-

Winners

+
+ Winner + +
<%= 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 +51,7 @@ <% end %> -
+

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

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