Sha256: cbd07098309633d1490db4af40e0d18bd88a01eb1b0df88a3ab51fde5e178719

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

= content_tag :li, :id => dom_id(root).gsub("_", "-"), :class => "menu-item #{'active' if root.is_active?(request.fullpath)}" do
  = link_to root.title, root.url, root.html_options?(request.fullpath)
  = content_tag :ul, :class => 'children' do
    - root.children.each do |child|
      = render :partial => "layouts/app_partials/application_tree", :locals => {:root => child } if child.active
  - end unless root.leaf?

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 app/views/layouts/app_partials/_application_tree.html.haml
dust-cms-0.0.06 app/views/layouts/app_partials/_application_tree.html.haml
dust-cms-0.0.05 app/views/layouts/app_partials/_application_tree.html.haml