]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_voter_list.rhtml
Suppress description of voter-verifiability unless election is verifiable.
[selectricity-live] / app / views / election / _voter_list.rhtml
index 4493b0a3950f5c862576f4172c7463004a9d15fa..34aa2074d385a6f5f0d6730e5c6420473cfc84af 100644 (file)
@@ -13,7 +13,8 @@
         <% if @edit %>
         <%= link_to_remote "Delete",
                     :complete => "Element.remove('voter#{voter.id}')",
         <% if @edit %>
         <%= link_to_remote "Delete",
                     :complete => "Element.remove('voter#{voter.id}')",
-                    :url => { :action => :delete_voter, :id => voter.id } %>
+                    :url => { :action => :delete_voter, :id => @election.id,
+                              :voter => voter.id } %>
         <% end %>
     </li>
   </div>  
         <% end %>
     </li>
   </div>  

Benjamin Mako Hill || Want to submit a patch?