]> projects.mako.cc - selectricity/blobdiff - app/views/common/results.rhtml
fixed a large number of bugs in the software (see wiki) over a days work
[selectricity] / app / views / common / results.rhtml
similarity index 87%
rename from app/views/voter/results.rhtml
rename to app/views/common/results.rhtml
index bb95c88438905e016342b3b4c21ccfa073eb6f2d..6f3a18d10ac8c6c7b764a953ce3836b18f3a3764 100644 (file)
@@ -1,3 +1,8 @@
+<!-- create the default variables -->
+<% @results = @election.results %>
+<% @names = @election.names_by_id %>
+<% @candidates = @election.candidate_hash %>
+
 <% require 'whois/whois' %>
 
 <div id="title-header">

Benjamin Mako Hill || Want to submit a patch?