]> projects.mako.cc - selectricity-live/blobdiff - app/views/voter/_sortable_vote.rhtml
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 79e95b5..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<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="clearbox"></div>
-
-<%= sortable_element 'rankings-list',
-    :url => { :action => "sort_candidates", :id => @voter.vote.id },
-    :complete => visual_effect(:highlight, 'rankings-list') %>
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?