= f.foldable_inputs :name => :information do = f.input :title = f.custom_input :path, :css => 'path' do & /#{f.text_field :path}.html = f.custom_input :published, :css => 'toggle' do = f.check_box :published = f.foldable_inputs :name => :meta do = f.input :keywords = f.input :description / <% f.foldable_inputs :name => :information do %> / <%= f.input :title, :required => false %> / / <% f.custom_input :path, :css => 'path' do %> / /<%= f.text_field :path %>.html / <% end %> / / <% f.custom_input :layout do %> / <%= f.select :layout_id, current_site.layouts.all.collect { |l| [l.name, l.id] }, :include_blank => true %> / <% end %> / / <%= f.input :keywords, :required => false %> / <%= f.input :description, :required => false %> / / <% f.custom_input :cache_expires_in do %> / <%= f.select :cache_expires_in, options_for_page_cache_expiration %> / <% end %> / / <% f.custom_input :visible, :css => 'checkbox' do %> / <%= f.check_box :visible %> / <% end %> / <% end %> / / <% unless f.object.new_record? %> /
/
/ <% if body_part? %> / <%= t('admin.pages.form.body') %><% end -%><% @page.parts.active.each_with_index do |p, index| -%><%= p.slug.humanize %> / <% end %> /
/ /
/ /
/
/ / <% content_for :head do %> / <%= javascript_include_tag 'admin/plugins/iphoneSwitch', 'admin/plugins/checkbox', 'admin/plugins/carousel', 'codemirror/codemirror', 'admin/pages' %> / <%= stylesheet_link_tag 'carousel', 'admin/page_parts' %> / <% end %> / <% end %>