2010-04-24 00:32:36 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
2010-05-02 23:33:17 +00:00
|
|
|
- content_for :head do
|
|
|
|
= javascript_include_tag 'admin/pages'
|
|
|
|
|
2010-04-24 00:32:36 +00:00
|
|
|
- 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
|
|
|
|
= admin_button_tag :new, new_admin_page_url, :class => 'add'
|
|
|
|
|
|
|
|
%p= t('.help')
|
|
|
|
|
|
|
|
- if @pages.empty?
|
|
|
|
%p.no-items= t('.no_items', :url => new_admin_page_url)
|
|
|
|
- else
|
|
|
|
%ul#pages-list
|
2010-05-02 23:33:17 +00:00
|
|
|
= render @pages
|