Sha256: 021b0c7083d208252918639be9463e352312d0476f2872491122fd26cab1c0da

Contents?: true

Size: 1.08 KB

Versions: 124

Compression:

Stored size: 1.08 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'}) 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

124 entries across 124 versions & 1 rubygems

Version Path
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.7.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.6.2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.6.1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.6.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.5.1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.5.0 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.4.2 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.4.1 app/pb_kits/playbook/pb_filter/templates/_default.html.erb
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_filter/templates/_default.html.erb