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