Sha256: d4cd9c2083b2302cc7d8b72e382fbfbc8752223e61e20844dd34e280dc6f4004

Contents?: true

Size: 1 KB

Versions: 10

Compression:

Stored size: 1 KB

Contents

        <div id="content-main">
        <%= form_for(@object, :action => 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

10 entries across 10 versions & 2 rubygems

Version Path
sferik-merb-admin-0.4.0 app/views/main/new.html.erb
sferik-merb-admin-0.4.1 app/views/main/new.html.erb
sferik-merb-admin-0.4.2 app/views/main/new.html.erb
sferik-merb-admin-0.4.3 app/views/main/new.html.erb
merb-admin-0.4.8 app/views/main/new.html.erb
merb-admin-0.4.7 app/views/main/new.html.erb
merb-admin-0.4.6 app/views/main/new.html.erb
merb-admin-0.4.5 app/views/main/new.html.erb
merb-admin-0.4.4 app/views/main/new.html.erb
merb-admin-0.4.3 app/views/main/new.html.erb