]> projects.mako.cc - selectricity-live/blobdiff - app/views/voter/_vote_sidebar.rhtml
Added a check to make sure a voter has a valid email address before attempting ot...
[selectricity-live] / app / views / voter / _vote_sidebar.rhtml
index 5b8d038178fe9d93c9aa39f92d4bee65e64843e4..2f250e077e536b65c6f7dbdc25ee1554f6cee276 100644 (file)
@@ -6,5 +6,5 @@ order.</p>
 <%= render :partial => 'common/sortable_vote' %>
 
 <div style="margin-left: 30pt;">
-<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %>
+<%= button_to "Submit Vote", :action => 'review', :id => @password %>
 </div>

Benjamin Mako Hill || Want to submit a patch?