added support for results for full elections
[selectricity-live] / app / views / voter / _sortable_vote.rhtml
diff --git a/app/views/voter/_sortable_vote.rhtml b/app/views/voter/_sortable_vote.rhtml
deleted file mode 100644 (file)
index 2452476..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<h2>Your Vote</h2>
-
-<p>Please vote by dragging items in the list below into your preferred
-order.</p>
-
-<div id="sortable_list">
-<ol id="rankings-list">
-  <% for ranking in @voter.vote.rankings %>
-    <li class="moveable" id="ranking_<%= ranking.candidate.id %>">
-      <%=h ranking.candidate.name.capitalize %></li>
-  <% end %>
-</ol>
-</div>
-
-<div class="clear-div"></div>
-
-<%= sortable_element 'rankings-list',
-    :url => { :action => "sort_candidates", :id => @voter.vote.id },
-    :complete => visual_effect(:highlight, 'rankings-list') %>
-
-<div style="margin-left: 30pt;">
-<%= button_to "Confirm Vote", :action => 'review', :id => @voter.password %>
-</div>

Benjamin Mako Hill || Want to submit a patch?