Remove deprecated start_form_tag and end_form_tags. Now you're supposed to do form_ta...
[selectricity-live] / app / views / election / new.rhtml
index fc390a059ed596a6ad8466b86aa11bfb3b0ff486..7b717486c0042739b2fe91d53b0f492e52677901 100644 (file)
@@ -2,8 +2,8 @@
 
 <h2>Vote Overview</h2>
 
-<%= form_tag :action => 'create_election' %>
+<% form_tag (:action => 'create_election') do %>
   <%= render :partial => 'overview_form' %>
   <%= submit_tag "Done!" %>
-<%= end_form_tag %>
+<% end %>
 

Benjamin Mako Hill || Want to submit a patch?