2010-04-25 00:33:38 +00:00
|
|
|
- title link_to(@page.title.blank? ? @page.title_was : @page.title, '#', :rel => 'page_title', :title => t('.ask_for_title'), :class => 'editable')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/menu/contents'
|
2011-04-27 05:18:02 +00:00
|
|
|
|
|
|
|
- content_for :actions do
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/actions/contents'
|
2010-04-25 00:33:38 +00:00
|
|
|
|
|
|
|
- content_for :buttons do
|
2011-11-08 14:34:25 +00:00
|
|
|
= local_action_button :show, "/#{@page.fullpath}", :class => 'show'
|
2010-04-25 00:33:38 +00:00
|
|
|
|
2010-07-21 23:56:42 +00:00
|
|
|
%p!= t('.help')
|
2010-04-25 00:33:38 +00:00
|
|
|
|
2011-10-31 23:44:23 +00:00
|
|
|
= semantic_form_for @page, :url => page_url(@page), :html => { :class => 'save-with-shortcut', :multipart => true } do |form|
|
2010-04-25 00:33:38 +00:00
|
|
|
|
|
|
|
= render 'form', :f => form
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/form_actions', :back_url => pages_url, :button_label => :update
|