]> 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
index 36de3eb3f9e6d6168cebbe543a4e19050d405f00..1e98fbaf93d39ac0dd636d14fe1675749af94203 100644 (file)
@@ -1,10 +1,10 @@
 <% @edit = true %>
-<h1><strong><%= @election.name %>:</strong> Edit Voter Rolls</h1>
+<h1>Edit Voter List</h1>
 
 <%= 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?