Module: Godmin::Helpers::Filters

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

Instance Method Summary collapse

Instance Method Details

#filter_form(url: params) ⇒ Object



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

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