Sha256: 6e1537202e89206d13a9fd1ecfb6a367b9b765b530c32bb8655b32583c62c266
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
- if link.is_a? Hash .nav-item.dropdown %a.nav-link.dropdown-toggle.scrollable{id: "dropdown_menu_button_#{link.keys.first}", aria: { expanded: :false, haspopup: :true }, data: { toggle: :dropdown } } = link.keys.first .dropdown-menu.dropdown-primary.scrollable{ aria: { labelledby: "dropdown_menu_button_#{link.keys.first}" } } - link.values.first.each do |menu_item| = link_to menu_item.title, menu_item.link, class: 'dropdown-item' - else = menu_item link.title, link.link
Version data entries
5 entries across 5 versions & 1 rubygems