Sha256: ae52030ae9640092386a8a616b14ca80705d36ab03f5158387023a705d431188

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 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, icon: 'icon-plus', 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

8 entries across 8 versions & 1 rubygems

Version Path
locomotive_cms-2.2.2 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.2.1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.2.0 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.1.4 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.1.3 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.1.2 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.1.1 app/views/locomotive/pages/index.html.haml
locomotive_cms-2.1.0 app/views/locomotive/pages/index.html.haml