Module: Godmin::Helpers::Filters

Defined in:
lib/godmin/helpers/filters.rb

Instance Method Summary collapse

Instance Method Details

#filter_form(url: params.to_unsafe_h) ⇒ Object



4
5
6
7
8
# File 'lib/godmin/helpers/filters.rb', line 4

def filter_form(url: params.to_unsafe_h)
  bootstrap_form_tag url: url, method: :get, layout: :inline, builder: FormBuilders::FilterFormBuilder do |f|
    yield(f)
  end
end