projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for results for full elections
[selectricity-live]
/
app
/
views
/
common
/
_sortable_vote.rhtml
diff --git
a/app/views/voter/_sortable_vote.rhtml
b/app/views/common/_sortable_vote.rhtml
similarity index 66%
rename from
app/views/voter/_sortable_vote.rhtml
rename to
app/views/common/_sortable_vote.rhtml
index 2452476d7f71ed0ae26f3457d5c6a64819d95e96..6876966f0f44dbf6f24aae5aa996c49acfa3e4f7 100644
(file)
--- a/
app/views/voter/_sortable_vote.rhtml
+++ b/
app/views/common/_sortable_vote.rhtml
@@
-1,8
+1,3
@@
-<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 %>
<div id="sortable_list">
<ol id="rankings-list">
<% for ranking in @voter.vote.rankings %>
@@
-18,6
+13,3
@@
order.</p>
:url => { :action => "sort_candidates", :id => @voter.vote.id },
:complete => visual_effect(:highlight, '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?