Remove the 3A escape code from the view.
[selectricity-live] / app / views / election / edit_candidates.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index cc2c16a..dcd601a
@@ -1,4 +1,4 @@
-<h1>Edit/Add Candidates</h1>
+<h2>Edit/Add Candidates</h2>
 
 <%= error_messages_for :candidate %>
 
 
 <p>Please enter new candidates below.</p>
 
-<%= form_tag( { :action => :add_candidate, :id => @election.id },
-              :multipart => true ) %>
+<% form_tag( { :action => :add_candidate, :id => @election.id },
+              :multipart => true ) do %>
 <%= render :partial => 'candidate_form' %>
 <%= submit_tag "Add Candidate" %>
-<%= end_form_tag %>
+<% end %>
 
-<%= button_to "Done!", :action => 'show', :id => @election %>
+<%= button_to "Done!", :action => 'new_voters', :id => @election %>

Benjamin Mako Hill || Want to submit a patch?