Sha256: 98973ff93876e7dfa5cab87da2e1d99cd1cc39ab4150b72fe2831426bff771b3

Contents?: true

Size: 570 Bytes

Versions: 8

Compression:

Stored size: 570 Bytes

Contents

- pages.each do |page, children|
  .draggable_tree_container{data: {draggable: '.draggable_tree_move_handle:first', draggable_tree_id_field: 'page-id', page_id: page.id}}
    = check_box_tag "hide_children_#{page.id}", nil, false, class: 'hide_children hidden'
    .draggable_tree_row
      .draggable_tree_move_handle
      .draggable_tree_collapse_handle= label_tag "hide_children_#{page.id}", fa_icon('chevron-down')
      = link_to page.name, [:edit, page], class: 'draggable_tree_link'

    .draggable_tree_children
      = render 'page_list_item', pages: children

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cd2_catton_cms-1.1.35 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.34 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.33 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.32 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.31 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.30 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.20 app/views/c/admin/pages/_page_list_item.html.haml
cd2_catton_cms-1.1.10 app/views/c/admin/pages/_page_list_item.html.haml