Sha256: e4c41f146e7f8674b22b5d8e802e0b2fecd0cd93fa4f609ca49cdc0454e48bd2

Contents?: true

Size: 690 Bytes

Versions: 8

Compression:

Stored size: 690 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}
%ul#item-list= render :partial => "page_list", :locals => { :pages => @pages }
#item-list-bottom

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.9 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.8 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.7 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.6 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.5 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.4 lib/forge/app/views/forge/pages/index.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/pages/index.html.haml