X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/aca2ebb98aeae4744e3c50f9fca7e08a1dd784a2..f7761282a6a0744caadfa6ddfb44f09d68c9f928:/app/views/election/edit_candidates.rhtml diff --git a/app/views/election/edit_candidates.rhtml b/app/views/election/edit_candidates.rhtml index cc2c16a..99f2f12 100644 --- a/app/views/election/edit_candidates.rhtml +++ b/app/views/election/edit_candidates.rhtml @@ -16,10 +16,10 @@

Please enter new candidates below.

-<%= 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 %>