1 <h1>Editing <%=h @candidate.name %></h1>
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" %>