Sha256: 9b7853d79fa62a5ef0eb7dcad645197606c59940cd6fa16f862d54302d88e90b
Contents?: true
Size: 807 Bytes
Versions: 16
Compression:
Stored size: 807 Bytes
Contents
- content_for :scripts do = javascript_include_tag 'jquery.quickSearch.js' :javascript $(function() { FORGE.features.pages.index(); }) - if can?(:manage, Page) = javascript_include_tag 'jquery.twoLevelSort.js' :javascript $(function() { $('#item-list').forgeTwoLevelSort({callbackPath: '#{reorder_forge_pages_path}'}); }); %h1 Your Pages %p.info These are all of the regular pages in your site. You can drag & drop pages and subpages to change their order. = render :partial => "forge/shared/section_header", :locals => {:item => Page} = sorted_nested_li(@pages, :list_order) do |page| - page = page[0] if page.is_a?(Array) - if page.parent_id = render "subpage", :subpage => page - else = render "page", :page => page #item-list-bottom
Version data entries
16 entries across 16 versions & 1 rubygems