Sha256: 9f2ba8c7619a80846c7df529dd49441da1a3b76ec3ce5d48a32d49a72a05cba6
Contents?: true
Size: 487 Bytes
Versions: 14
Compression:
Stored size: 487 Bytes
Contents
- if link.is_a? Hash .nav-item.dropdown %a.nav-link.dropdown-toggle{ id: "dropdown_menu_button_#{link.keys.first}", aria: { expanded: :false, haspopup: :true }, data: { toggle: :dropdown } } = link.keys.first .dropdown-menu.dropdown-primary{ 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
14 entries across 14 versions & 1 rubygems