<%%= t('manage.add') %>:
<%%= form_for @<%= singular_name %>, :as => :<%= singular_name %>, :url => manage_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :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.create')), "$('#<%= 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.create'), :style=>"display:none;" %>
<%% end %>