Sha256: 428bfff1a40776ab35e6802afcab4e7eb7480d13ae26f02ae3dd6e0393429770

Contents?: true

Size: 1.1 KB

Versions: 19

Compression:

Stored size: 1.1 KB

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 %>

<% if object.template != "sort_only"%>
  <%= pb_rails("popover", props: {close_on_click: "outside", trigger_element_id: "filter#{object.id}", tooltip_id: "filter-form#{object.id}", position: 'bottom', padding: 'none'}) do %>
    <%= capture(&object.children) %>
  <% end %>
<%end%>

<% if object.template != "filter_only"%>
  <%= pb_rails("popover", props: {classname: "pb_filter_sort_menu", close_on_click: "outside", trigger_element_id: "sort-button#{object.id}", tooltip_id: "sort-filter-btn-tooltip#{object.id}", position: 'bottom', padding: 'none'}) 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 %>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
playbook_ui-5.2.0.pre.alpha15 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha14 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha13 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha12 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha11 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha10 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha9 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha8 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha7 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha6 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha5 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha4 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha3 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.2.0.pre.alpha2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.1.0.pre.alpha4 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.1.0.pre.alpha2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.1.0.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.0.1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb