first (mostly) working version of full elections.
[selectricity] / app / views / voter / _sortable_vote.rhtml
index 512a4ee7371c301ed615cf496d478e355db12e58..2452476d7f71ed0ae26f3457d5c6a64819d95e96 100644 (file)
@@ -1,3 +1,8 @@
+<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 %>
@@ -12,3 +17,7 @@
 <%= 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?