Major integration of Courtland's design into the QuickVotes.
[selectricity-live] / app / views / election / edit_candidates.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index cc2c16a..756554d
@@ -1,9 +1,10 @@
-<h1>Edit/Add Candidates</h1>
+<h2>Edit/Add Candidates</h2>
 
 <%= error_messages_for :candidate %>
 
 <% unless @election.candidates.empty? %>
   <p>The following are valid options or candidates in this election:</p>
+1;3A
 
   <% @election.candidates.each do |candidate| %>
     <% @current_candidate = 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?