%h1 Editing <%= singular_name.humanize %> - form_for(@<%= singular_name %>) do |form| = render :partial => 'form', :locals => {:form => form} %p= form.submit 'Update' %p = link_to 'Show', @<%= singular_name %> = link_to 'Back', <%= plural_name %>_path