Sha256: 69dd0166b1655f7470644aac8b6a2b2244e104256fe86af89366e884faf94560
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
<% if object.collapsible %> <%= pb_rails("collapsible", props: { name: "collapsible-nav-example", classname: object.collapsible_nav_classname }) do %> <%= pb_rails("collapsible/collapsible_main", props: { name: "default-collapsible-nav", icon: object.collapsible_icons, size: "xs", dark: object.dark, classname:object.margin_classes }) do %> <%= pb_content_tag(object.tag, dark: object.dark, href: object.link && object.link, target: object.link && object.target, **combined_html_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 %> <%= pb_content_tag(object.tag, **combined_html_options, dark: object.dark, href: object.link && object.link, target: object.link && object.target ) 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 %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 | app/pb_kits/playbook/pb_nav/item.html.erb |