Sha256: f7e80a0524374f882ce3ef934b499317fce30c65af6fa86a31a1ef4f9dad4f9c

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

<%= manageable_content_box do |box| %>
  <%= box.navigation do |nav| %>
    <%= render "form_navigation", :nav => nav %>
  <% end %>
  <%= box.controls do |control| %>
    <%= render "form_controls", :control => control %>
  <% end %>
  <%= form_for resource, :url => resource.persisted? ? resource_path(resource) : collection_path, :method => resource.persisted? ? :put : :post, :builder => Manageable::Helpers::FormBuilder, :html => {:class => "form uniform"}  do |form| %>
    <h3 class="title"><%= resource_class.model_name.human.titleize %></h3>
    <%= render "form_fields", :form => form %>
    <%= render "form_footer", :form => form %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
manageable-0.1.4 app/views/manageable/application/_form.html.erb
manageable-0.1.3 app/views/manageable/application/_form.html.erb
manageable-0.1.2 app/views/manageable/application/_form.html.erb
manageable-0.1.1 app/views/manageable/application/_form.html.erb