<h1>Editing <%= singular_name.titleize %></h1>

<%%= error_messages_for :<%= singular_name %> %>

<%% form_for(:<%= singular_name %>, :url => object_url, :html => { :method => :put }) do |f| %>
  <%%= render :partial => "form", :locals => { :f => f } %>
  <p>
    <%%=submit_tag "Update"%>
  </p>
<%% end %>

<br/>

<%%= link_to 'Show', object_url %>
|
<%%= link_to 'Back', collection_url %>