Sha256: 61533a5b1d1e6f7e43dcc5811245381d3ab27dd37323e5d2341bf2e68afebde7

Contents?: true

Size: 887 Bytes

Versions: 8

Compression:

Stored size: 887 Bytes

Contents

<% if object.background %>
  <%= pb_rails("card",props: {padding:"none"}) do%>
    <%= render partial: 'pb_filter/templates/core', locals: {object: object} %>
  <% end %> 
<% else %>
 <%= render partial: 'pb_filter/templates/core', locals: { object: object} %>
<% end %>

<%= pb_rails("popover", props: {trigger_element_id: "filter#{object.id}", tooltip_id: "filter-form#{object.id}", position: 'bottom'}) do %>
  <%= capture(&object.children) %>
<% end %>

<%= pb_rails("popover", props: { trigger_element_id: "sort-button#{object.id}", tooltip_id: "sort-filter-btn-tooltip#{object.id}", position: 'bottom'}) do %>
    <%= pb_rails("list") do %>
      <% object.sort_menu.each do |item| %>
        <%= pb_rails("list/item") do%> <%= pb_rails("button", props: {variant: "link" ,classname: "p-0", text: item[:item], link: item[:link]}) %><% end %>
      <% end %> 
    <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.10.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.9.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.8.2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-4.8.1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb