- title :index, Page
table.index-table.table.table-striped.table-hover
  thead
    tr
      th= Page.human_attribute_name(:name)
      th= Page.human_attribute_name(:title)
      th= Page.human_attribute_name(:locale)
      th= Page.human_attribute_name(:has_view)
      th= Page.human_attribute_name(:in_menu)
      th= Page.human_attribute_name(:position)
  tbody
    - Page.locales.each do |locale|
      = render 'nested_pages', pages: Page.full_tree(locale)

- content_for :page_links do
  ul
    li= link_to link_to_new_content(Page), cmtool.new_page_path, class: 'record-new-button'
