Sha256: a1a1b4e8cc6211e6c4a9476db37eec4ba8a409251447ce2de2bd1746e11bebc7

Contents?: true

Size: 446 Bytes

Versions: 11

Compression:

Stored size: 446 Bytes

Contents

- title t('.title')

- content_for :submenu do
  = render 'locomotive/shared/menu/contents'

- content_for :actions do
  = render 'locomotive/shared/actions/contents'

- if can? :create, Locomotive::Page
  - content_for :buttons do
    = local_action_button :new, new_page_url, :class => 'new', :id => 'newpage'

%p!= t('.help')

- if @pages.empty?
  %p.no-items!= t('.no_items', :url => new_page_url)
- else
  %ul#pages-list
    = render @pages

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc12 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc11 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc10 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc9 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc8 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc7 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc6 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc5 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc4 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc2 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.0.0.rc1 app/views/locomotive/pages/index.html.haml