Remove deprecated start_form_tag and end_form_tags. Now you're supposed to do form_ta...
[selectricity] / app / views / election / edit.rhtml
index af0cb493e5fc6952a3ab44e386dae1b5a971af48..968d1575124c730204089cc2a17e7b5ef094f280 100644 (file)
@@ -1,6 +1,6 @@
 <h1><strong><%= @election.name %>:</strong> Edit Overview</h1>
 
-<%= start_form_tag :action => 'update', :id => @election %>
+<% form_tag(:action => 'update', :id => @election) do %>
   <%= render :partial => 'overview_form' %>
   <%= submit_tag 'Done!' %>
-<%= end_form_tag %>
+<% end %>

Benjamin Mako Hill || Want to submit a patch?