]> projects.mako.cc - selectricity-live/blob - app/views/election/edit_candidate.rhtml
Clean up a deprecation warning and another warning.
[selectricity-live] / app / views / election / edit_candidate.rhtml
1 <h1>Editing <%= @candidate.name %></h1>
2
3 <%= error_messages_for :candidate %>
4 <% form_tag( { :action => :update_candidate, :id => @candidate.id },
5               :multipart => true ) do %>
6 <%= render :partial => 'candidate_form' %>
7 <%= submit_tag "Save" %>
8 <% end %>
9

Benjamin Mako Hill || Want to submit a patch?