X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/776bdf980f85cf230b238a80e1019fc78d53f06e..5901217a8893619fbdb02d540c08390f92eae368:/app/views/voter/_sortable_vote.rhtml diff --git a/app/views/voter/_sortable_vote.rhtml b/app/views/voter/_sortable_vote.rhtml index 4154482..2452476 100644 --- a/app/views/voter/_sortable_vote.rhtml +++ b/app/views/voter/_sortable_vote.rhtml @@ -1,4 +1,8 @@ -<% %> +

Your Vote

+ +

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

+
    <% for ranking in @voter.vote.rankings %> @@ -8,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 %> +