]> projects.mako.cc - selectricity/blobdiff - app/views/election/edit_voters.rhtml
Remove deprecated start_form_tag and end_form_tags. Now you're supposed to do form_ta...
[selectricity] / app / views / election / edit_voters.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index 429a907..1e98fba
@@ -3,8 +3,8 @@
 
 <%= render :partial => 'voter_list' %>
 
-<%= form_tag :action => 'edit_voters', :id => @election.id %>
+<% form_tag (:action => 'edit_voters', :id => @election.id) do %>
 <%= render :partial => 'voters_form' %>
-<%= end_form_tag %>
+<% end %>
 
 <%= button_to 'Done!', :action => 'show', :id => @election.id %>

Benjamin Mako Hill || Want to submit a patch?