Sha256: 080f3738489b49754eac27251c54830a64db50c91ee9e838211e29221ea9eaf7

Contents?: true

Size: 854 Bytes

Versions: 16

Compression:

Stored size: 854 Bytes

Contents

        <div id="content-main">
        <%= form_for(@object, :action => url(:merb_admin_create, :model_name => @abstract_model.singular_name)) 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

16 entries across 16 versions & 1 rubygems

Version Path
merb-admin-0.6.6 app/views/main/new.html.erb
merb-admin-0.6.5 app/views/main/new.html.erb
merb-admin-0.6.4 app/views/main/new.html.erb
merb-admin-0.6.3 app/views/main/new.html.erb
merb-admin-0.6.2 app/views/main/new.html.erb
merb-admin-0.6.1 app/views/main/new.html.erb
merb-admin-0.6.0 app/views/main/new.html.erb
merb-admin-0.5.7 app/views/main/new.html.erb
merb-admin-0.5.6 app/views/main/new.html.erb
merb-admin-0.5.5 app/views/main/new.html.erb
merb-admin-0.5.4 app/views/main/new.html.erb
merb-admin-0.5.3 app/views/main/new.html.erb
merb-admin-0.5.2 app/views/main/new.html.erb
merb-admin-0.5.1 app/views/main/new.html.erb
merb-admin-0.5.0 app/views/main/new.html.erb
merb-admin-0.4.9 app/views/main/new.html.erb