%h1 editing <%= singular_name %>
  =render :partial => "remote_form"

%h1 editing <%= singular_name %>
=render :partial => "remote_form", :locals => {singular_name.to_sym => @<%= singular_name %>}

Change to the generator, pass in the item to be edited.
Change to the generator, pass in the item to be edited.