Sha256: acb55bfbb1ce8faecbf808605daa8140190f711a085c79a87bafdd28909d9e71

Contents?: true

Size: 243 Bytes

Versions: 43

Compression:

Stored size: 243 Bytes

Contents

- if @subtree[@page.id].try(:any?)
  %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

43 entries across 43 versions & 1 rubygems

Version Path
tawork-0.0.23 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.22 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.21 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.20 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.19 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.18 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.17 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.16 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.15 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.14 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.13 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.12 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.11 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.10 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.9 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.8 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.7 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.6 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.5 app/views/wiki/pages/_subtree.html.haml
tawork-0.0.4 app/views/wiki/pages/_subtree.html.haml