Sha256: 080b17843e020f6747ca892f37a650984b726c382bd54f29614dd2a634f695fc

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

%li.menu-item{ data: { submenu: 'ul.menu.menu-sub'} }
  - if item[:submenu]
    = link_to item[:url], { title: item[:title], class: 'has-icon' } do
      = item[:name]
      = fa_icon 'angle-double-up', class: 'poar'
    %ul.menu.menu-sub{ class: ('is-active' if item[:active]) }
      = render partial: 'psique/elements/navigation/item', collection: item[:submenu]
  - else
    = link_to item[:name], item[:url], { title: item[:title], class: 'has-not-icon' }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
psique-1.0.2 app/views/psique/elements/navigation/_item.html.haml