X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/2857ac6197adfe972a5e6129a3f26af9e148edb1..5901217a8893619fbdb02d540c08390f92eae368:/app/views/voter/_sortable_vote.rhtml diff --git a/app/views/voter/_sortable_vote.rhtml b/app/views/voter/_sortable_vote.rhtml index 79e95b5..2452476 100644 --- a/app/views/voter/_sortable_vote.rhtml +++ b/app/views/voter/_sortable_vote.rhtml @@ -1,3 +1,8 @@ +

Your Vote

+ +

Please vote by dragging items in the list below into your preferred +order.

+
    <% for ranking in @voter.vote.rankings %> @@ -7,8 +12,12 @@
-
+
<%= sortable_element 'rankings-list', :url => { :action => "sort_candidates", :id => @voter.vote.id }, - :complete => visual_effect(:highlight, 'rankings-list') %> \ No newline at end of file + :complete => visual_effect(:highlight, 'rankings-list') %> + +
+<%= button_to "Confirm Vote", :action => 'review', :id => @voter.password %> +