Sha256: 0c3d8b9bdb6604d077b01a163f788194dbf4b3a1c7b26bcb3b469541a0cb7928

Contents?: true

Size: 749 Bytes

Versions: 1

Compression:

Stored size: 749 Bytes

Contents

form class="form-inline"
  - if Cardboard.used_with_templates?
    => link_to new_page_path, class:"btn btn-primary" do
      i.icon-plus

  .input-append style=(Cardboard.used_with_templates?? "width: 160px" : nil)
    input id="sidebar_page_search" type="text" placeholder="Search Pages"
    button type="submit" class="btn"
      i.icon-search

#content_pages data-update-url="#{pages_sort_path}"
  = nested_pages do |page, subpages|
    .page_link id= "pages_#{page.id}"
      .link_wrap
        = link_to page.title, edit_page_path(page), class: "offset-#{page.depth}"
        .sort_handle
          i.icon-reorder
      - if subpages
        .page_group= subpages

#sidebar_page_search_none style="display:none"
  | No pages match your search

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cardboard_cms-0.3.1 app/views/cardboard/pages/_sidebar.html.slim