Class: ActiveAdmin::Inputs::FilterSelectInput
- Inherits:
-
Formtastic::Inputs::SelectInput
- Object
- Formtastic::Inputs::SelectInput
- ActiveAdmin::Inputs::FilterSelectInput
show all
- Includes:
- FilterBase
- Defined in:
- lib/active_admin/inputs/filter_select_input.rb
Instance Method Summary
collapse
Methods included from FilterBase
#collection_from_options, #humanized_method_name, #input_wrapping, #reflection_for, #required?, #wrapper_html_options
Instance Method Details
18
19
20
|
# File 'lib/active_admin/inputs/filter_select_input.rb', line 18
def
{}
end
|
6
7
8
|
# File 'lib/active_admin/inputs/filter_select_input.rb', line 6
def input_name
"#{super}_eq"
end
|
10
11
12
|
# File 'lib/active_admin/inputs/filter_select_input.rb', line 10
def input_options
super.merge(:include_blank => I18n.t('active_admin.any'))
end
|
#method ⇒ Object
14
15
16
|
# File 'lib/active_admin/inputs/filter_select_input.rb', line 14
def method
super.to_s.gsub('_id','').to_sym
end
|