Remove deprecated start_form_tag and end_form_tags. Now you're supposed to do form_ta...
[selectricity] / app / views / election / edit_voters.rhtml
index 429a9077fe15ce98483a69743602eee75e403ced..1e98fbaf93d39ac0dd636d14fe1675749af94203 100644 (file)
@@ -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?