engine/app/views/admin/pages/edit.html.haml

15 lines
521 B
Plaintext
Raw Normal View History

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
= render 'admin/shared/menu/contents'
2010-04-25 00:33:38 +00:00
- content_for :buttons do
= admin_button_tag :show, "/#{@page.fullpath}", :class => 'show'
2010-04-25 00:33:38 +00:00
%p= t('.help')
= semantic_form_for @page, :url => admin_page_url(@page) do |form|
2010-04-25 00:33:38 +00:00
= render 'form', :f => form
= render 'admin/shared/form_actions', :back_url => admin_pages_url, :button_label => :update