Sha256: 90223e9d31b2466579d92ba36ec2ddfe2b1927a637c7e41454448f269b01f320
Contents?: true
Size: 988 Bytes
Versions: 1
Compression:
Stored size: 988 Bytes
Contents
<%= pb_content_tag(:div, **combined_html_options) do %> <%= pb_rails("flex", props: {vertical: "center", spacing: "between", cursor: "pointer"}) do %> <%= pb_rails("flex/flex_item") do %> <%= content.presence %> <% end %> <%= pb_rails("flex/flex_item") do %> <div style="color: <%= object.icon_color %>" class="icon_wrapper" > <% if object.icon.present? %> <%= pb_rails("icon", props: { icon: object.show_icon(object.icon)[0], id:"collapsible_open_icon", size: object.size }) %> <%= pb_rails("icon", props: { icon: object.show_icon(object.icon)[1], id:"collapsible_close_icon", size: object.size }) %> <% else %> <%= pb_rails("icon", props: { icon: "chevron-down", id:"collapsible_open_icon", size: object.size }) %> <%= pb_rails("icon", props: { icon: "chevron-up", id:"collapsible_close_icon", size: object.size }) %> <% end %> </div> <% 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_collapsible/collapsible_main.html.erb |