Sha256: 093539136cb54685ceb84a3ae919422d8eefce8f1da0f30c70d3de3e9396e02a
Contents?: true
Size: 1.03 KB
Versions: 11
Compression:
Stored size: 1.03 KB
Contents
ruby: show_nav ||= false navigation_items ||= [] records ||= [] ul.search-results.js-search-results - if show_nav && @fae_topnav_items.present? - @fae_topnav_items.each do |item| li.search-topnav a href=item[:nested_path] = item[:text] - if item[:subitems] ul - item[:subitems].each do |subitem| li: a href=subitem[:nested_path] = subitem[:text] - elsif navigation_items.present? || records.present? - if navigation_items.present? - navigation_items.each do |item| li: a.search-nav-item href=item[:nested_path] = item[:text] - if records.present? - records.each do |item| - begin - parent = item.respond_to?(:fae_parent) ? item.fae_parent : nil - edit_path = edit_polymorphic_path([main_app, fae_scope, parent, item]) li a href=edit_path span.search-record-label = item.class.name = item.fae_display_field - rescue - else li No results
Version data entries
11 entries across 11 versions & 2 rubygems