form class="form-inline" => link_to pages_new_path, class:"btn btn-primary" do i.icon-plus .input-append style="width: 160px" 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