Sha256: a61232d4376b8a475688c9b84531e359f75bf4f2db723a04aaac7738710e8bd2

Contents?: true

Size: 1.05 KB

Versions: 15

Compression:

Stored size: 1.05 KB

Contents

        <div id="content-main">
        <%= form_for(@object, :action => url(:merb_admin_update, :model_name => @abstract_model.to_param, :id => @object.id)) 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" %>
              <p class="deletelink-box">
                <%= link_to("Delete", url(:merb_admin_delete, :model_name => @abstract_model.to_param, :id => @object.id), :class => "deletelink") %>
              </p>
              <%= 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/edit.html.erb
merb-admin-0.8.7 app/views/main/edit.html.erb
merb-admin-0.8.6 app/views/main/edit.html.erb
merb-admin-0.8.1 app/views/main/edit.html.erb
merb-admin-0.8.0 app/views/main/edit.html.erb
merb-admin-0.7.6 app/views/main/edit.html.erb
merb-admin-0.7.5 app/views/main/edit.html.erb
merb-admin-0.7.4 app/views/main/edit.html.erb
merb-admin-0.7.3 app/views/main/edit.html.erb
merb-admin-0.7.2 app/views/main/edit.html.erb
merb-admin-0.7.1 app/views/main/edit.html.erb
merb-admin-0.7.0 app/views/main/edit.html.erb
merb-admin-0.6.9 app/views/main/edit.html.erb
merb-admin-0.6.8 app/views/main/edit.html.erb
merb-admin-0.6.7 app/views/main/edit.html.erb