Sha256: bb6260fb3b21fdcc73e89f01760a557bcf63f42965666d41dd5093b21092db77
Contents?: true
Size: 529 Bytes
Versions: 16
Compression:
Stored size: 529 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 } } = t("navbar.links.#{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
16 entries across 16 versions & 1 rubygems