Sha256: ab27f39e0988476326c49d0b3cf9b077699cc78f4e05210275ad6c7fe532932a

Contents?: true

Size: 1.08 KB

Versions: 1205

Compression:

Stored size: 1.08 KB

Contents

<%=
  pb_rails("filter", props: {
    min_width: "360px",
    id: "nosort",
    filters: [
      { name: "name", value: "John Wick" }
    ],
    results: 546,
    template: "filter_only",
  }) do
%>
  <%
   example_collection = [
      OpenStruct.new(name: "USA", value: 1),
      OpenStruct.new(name: "Canada", value: 2),
      OpenStruct.new(name: "Brazil", value: 3),
      OpenStruct.new(name: "Philippines", value: 4),
      OpenStruct.new(name: "A galaxy far far away...", value: 5)
    ]
  %>

  <%= pb_rails("form", props: { form_system_options: { scope: :example, method: :get } }) do |form| %>
    <%= form.text_field :example_text_field, props: { label: true } %>
    <%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>

    <%= form.actions do |action| %>
      <%= action.submit props: { text: "Apply", data: { disable_with: "<i class='far fa-spinner fa-spin mr-3'></i>Searching...".html_safe },}%>
      <%= action.button props: { type: "reset", text: "Clear", variant: "secondary" } %>
    <% end %>
  <% end %>
<% end %>

Version data entries

1,205 entries across 1,205 versions & 2 rubygems

Version Path
playbook_ui-14.3.2.pre.alpha.PBNTR490multilevelselect3771 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.4.0.pre.rc.10 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.4.0.pre.rc.10 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.3.2.pre.alpha.PBNTR490multilevelselect3766 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.3.2.pre.alpha.PBNTR490multilevelselect3766 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.4.0.pre.rc.9 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.4.0.pre.rc.9 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.4.0.pre.rc.8 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.4.0.pre.rc.8 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.3.2.pre.alpha.PBNTR480radiocustomchildrenprop3759 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.3.2.pre.alpha.PBNTR480radiocustomchildrenprop3759 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.3.2.pre.alpha.PBNTR515typeaheadmarginbottomredux3756 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.3.2.pre.alpha.PBNTR515typeaheadmarginbottomredux3756 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.4.0.pre.rc.7 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.4.0.pre.rc.7 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.3.2 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.4.0.pre.rc.6 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.4.0.pre.rc.6 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui_docs-14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3750 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb
playbook_ui-14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3750 app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb