<%%= t('manage.edit') %>:
<%%= form_for [:manage, @<%= parent_singular_name %>, @<%= singular_name %>], :html=>{:multipart=>true, :id=>'<%= singular_name %>_form'} do |f| -%> <%%= render :partial=>"manage/<%= plural_name %>/form", :object=>f %>
<%%= link_to_function content_tag(:span, t('manage.update')), "$('#<%= singular_name %>_form').submit()", :class=>"gr" %> <%%= link_to t('manage.cancel'), manage_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :class=>"erase" %> <%%= f.submit t('manage.update'), :style=>"display:none;" %>
<%% end %>