Sha256: a8a490b5150791b7a297b0fa165c52662548802c89a3ff1e8a9dbb5298af2c12

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

- if @subtree[@page.id].try(:any?)
  .sub-tree
    %h3 Subpages
    .well{style: "position: relative;"}
      .tree
        %ol{id: "sortable_#{@page.id}"}
          - @subtree[@page.id].sort_by(&:position).each do |page|
            = render 'tree_node', page: page

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tawork-0.0.50 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.49 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.48 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.47 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.46 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.45 app/views/wiki/pages/_subtree.html.haml