Sha256: 6b0a95f982c4bd254be4c70662e27fe28c21dbd9b15922116a0f3d3780eb9413

Contents?: true

Size: 849 Bytes

Versions: 15

Compression:

Stored size: 849 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

15 entries across 15 versions & 1 rubygems

Version Path
merb-admin-0.8.8 app/views/main/new.html.erb
merb-admin-0.8.7 app/views/main/new.html.erb
merb-admin-0.8.6 app/views/main/new.html.erb
merb-admin-0.8.1 app/views/main/new.html.erb
merb-admin-0.8.0 app/views/main/new.html.erb
merb-admin-0.7.6 app/views/main/new.html.erb
merb-admin-0.7.5 app/views/main/new.html.erb
merb-admin-0.7.4 app/views/main/new.html.erb
merb-admin-0.7.3 app/views/main/new.html.erb
merb-admin-0.7.2 app/views/main/new.html.erb
merb-admin-0.7.1 app/views/main/new.html.erb
merb-admin-0.7.0 app/views/main/new.html.erb
merb-admin-0.6.9 app/views/main/new.html.erb
merb-admin-0.6.8 app/views/main/new.html.erb
merb-admin-0.6.7 app/views/main/new.html.erb