Sha256: a2b1e927f1be3849102e5de5403b41603a51971827c9dad14014c39921adcce2
Contents?: true
Size: 1.86 KB
Versions: 12
Compression:
Stored size: 1.86 KB
Contents
<%= content_tag(:li, aria: object.aria, class: object.classname, data: object.data, dark: object.dark, id: object.id) do %> <% if object.collapsible %> <%= pb_rails("collapsible", props: { name: "collapsible-nav-example" }) do %> <%= pb_rails("collapsible/collapsible_main", props: { name: "default-collapsible-nav", icon: object.collapsible_icons, size: "xs", dark: object.dark }) do %> <%= content_tag(object.tag, object.link ? object.link_options : object.options) do %> <% if object.image_url %> <%= pb_rails("image", props: { url: object.image_url, classname: "pb_nav_img_wrapper_collapsible" }) %> <% end %> <% if object.icon_left %> <%= pb_rails("icon", props: { icon: object.icon_left, classname: "pb_nav_list_item_icon_left_collapsible", fixed_width: true}) %> <% end %> <span class="pb_nav_list_item_text_collapsible"> <%= object.text %> </span> <% end %> <% end %> <%= pb_rails("collapsible/collapsible_content") do %> <%= content.presence %> <% end %> <% end %> <% else %> <%= content_tag(object.tag, object.link ? object.link_options : object.options) do %> <% if object.image_url %> <%= pb_rails("image", props: { url: object.image_url, classname: "pb_nav_img_wrapper" }) %> <% end %> <% if object.icon_left %> <%= pb_rails("icon", props: { icon: object.icon_left, classname: "pb_nav_list_item_icon_left", fixed_width: true}) %> <% end %> <span class="pb_nav_list_item_text"> <%= object.text %><%= content.presence %> </span> <% if object.icon_right %> <%= pb_rails("icon", props: { icon: object.icon_right, classname: "pb_nav_list_item_icon_right", fixed_width: true}) %> <% end %> <% end %> <% end %> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems