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
|
2010-05-02 23:33:17 +00:00
|
|
|
= render 'admin/shared/menu/contents'
|
2010-04-25 00:33:38 +00:00
|
|
|
|
|
|
|
- content_for :buttons do
|
2010-06-01 00:06:46 +00:00
|
|
|
= admin_button_tag :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
|
|
|
|
2010-07-13 00:46:17 +00:00
|
|
|
= semantic_form_for @page, :url => admin_page_url(@page), :html => { :class => 'save-with-shortcut' } do |form|
|
2010-04-25 00:33:38 +00:00
|
|
|
|
|
|
|
= render 'form', :f => form
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2010-05-02 23:33:17 +00:00
|
|
|
= render 'admin/shared/form_actions', :back_url => admin_pages_url, :button_label => :update
|