added support for results for full elections
[selectricity] / app / views / quickvote / _result_box.rhtml
diff --git a/app/views/quickvote/_result_box.rhtml b/app/views/quickvote/_result_box.rhtml
deleted file mode 100644 (file)
index 917dbd4..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<div id="<%= method %>_result" class="resultbox"<%= ' style="display: none;"' unless @election.election_method == method %>>
-<div class="normal-header">
-  <span class="header"><%= ELECTION_TYPES[method]%> </span>
-  <span class="subheader">
-  <% if @election.election_method == method %>
-    Selected Method
-  <% else %>
-    Alternative Method 
-  <% end %></span>
-</div>
-
-<% unless @election.election_method == method -%>
-<%= render :partial => 'result', :object => @results[method]%>
-<% end -%>
-<%= render :partial => 'methodinfo_' + method,
-           :object => @results[method] %>
-
-</div>
-

Benjamin Mako Hill || Want to submit a patch?