Sha256: acdb7af6ea9cec3723ae8bd6d1edbb4809a0e11f14b687a2d8b66a1974bfffc4
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
<div id="content-main"> <%= form_for(@object, :action => slice_url(:admin_create, :model_name => @abstract_model.singular_name)) do %> <div> <%= partial('properties', :properties => @properties) -%> <% @abstract_model.belongs_to_associations.each do |association| %> <%= partial('belongs_to', :association => association) -%> <% end %> <% @abstract_model.has_one_associations.each do |association| %> <%= partial('has_one', :association => association) -%> <% end %> <% @abstract_model.has_many_associations.each do |association| %> <%= partial('has_many', :association => association) -%> <% end %> <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
4 entries across 4 versions & 1 rubygems