Sha256: b4449931f8439b683d113d63ebe3ddc54588cfcaf91bc06229704f0dad758142
Contents?: true
Size: 865 Bytes
Versions: 2
Compression:
Stored size: 865 Bytes
Contents
<div id="content-main"> <%= form_for(@object, :action => url(:merb_admin_create, :model_name => @abstract_model.to_param)) do %> <div> <%= 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) -%> <div class="submit-row" > <%= submit "Save", :class => "default", :name => "_save" %> <%= submit "Save and add another", :name => "_add_another" %> <%= submit "Save and continue editing", :name => "_continue" %> </div> </div> <% end =%> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merb-admin-0.8.5 | app/views/main/new.html.erb |
merb-admin-0.8.3 | app/views/main/new.html.erb |