Remove deprecated start_form_tag and end_form_tags. Now you're supposed to do form_ta...
[selectricity] / app / views / voter / index.rhtml
index 7e31c920a0b7a47400cd1c53c9947510f546509d..5c2ea2702c6e91ef88d0cb219ba165d46e06b141 100644 (file)
@@ -2,7 +2,7 @@
 
 <p>Please enter your password/token to log in and vote:</p>
 
-<%= form_tag :action => 'index' %>
+<% form_tag(:action => 'index') do %>
 <%= text_field :vote, :password %>
 <%= submit_tag "Log In" %>
-<%= end_form_tag %>
+<% end %>

Benjamin Mako Hill || Want to submit a patch?