Sha256: f78f4476a1665c486dbe6330d57e79bc5119866d6261181a65e81d8e8a133805
Contents?: true
Size: 1.06 KB
Versions: 24
Compression:
Stored size: 1.06 KB
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname, aria: object.aria, **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
24 entries across 24 versions & 1 rubygems