%h1 Editing <%= singular_name %>

= 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"
  
= link_to 'Show', object_url
|
= link_to 'Back', collection_url