projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live]
/
app
/
views
/
voter
/
full_vote.rhtml
diff --git
a/app/views/voter/full_vote.rhtml
b/app/views/voter/full_vote.rhtml
index 2f1fc22a71f924acceeb9a5a01ce8cd1d0b9ea59..e6ccb26d16f8e55a04cc7d7bc601150a5ebb07ab 100644
(file)
--- a/
app/views/voter/full_vote.rhtml
+++ b/
app/views/voter/full_vote.rhtml
@@
-5,6
+5,9
@@
<p><strong>Description:</strong></p>
<blockquote><%= @voter.election.description %></blockquote>
<p><strong>Description:</strong></p>
<blockquote><%= @voter.election.description %></blockquote>
-<%= render
_partial
'vote' %>
+<%= render
:partial =>
'vote' %>
+<%= render :partial => 'sortable_vote' %>
+
+<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %>
Benjamin Mako Hill
||
Want to submit a patch?