<%= form_for(@object, :action => url(:merb_admin_update, :model_name => @abstract_model.to_param, :id => @object.id)) do %>
<%= partial('properties', :properties => @properties) -%> <%= partial('belongs_to', :with => @abstract_model.belongs_to_associations, :as => :association) -%> <%= partial('has_one', :with => @abstract_model.has_one_associations, :as => :association) -%> <%= partial('has_many', :with => @abstract_model.has_many_associations, :as => :association) -%>
<%= submit "Save", :class => "default", :name => "_save" %> <%= submit "Save and add another", :name => "_add_another" %> <%= submit "Save and continue editing", :name => "_continue" %>
<% end =%>