Module: ActiveScaffold::Bridges::Chosen::Helpers::SearchColumnHelpers
- Defined in:
- lib/active_scaffold/bridges/chosen/helpers.rb
Instance Method Summary collapse
- #active_scaffold_search_chosen(column, options) ⇒ Object
- #active_scaffold_search_multi_chosen(column, options) ⇒ Object
Instance Method Details
#active_scaffold_search_chosen(column, options) ⇒ Object
36 37 38 39 |
# File 'lib/active_scaffold/bridges/chosen/helpers.rb', line 36 def active_scaffold_search_chosen(column, ) [:class] << ' chosen' active_scaffold_search_select(column, ) end |
#active_scaffold_search_multi_chosen(column, options) ⇒ Object
41 42 43 44 45 46 |
# File 'lib/active_scaffold/bridges/chosen/helpers.rb', line 41 def active_scaffold_search_multi_chosen(column, ) [:class] << ' chosen' [:multiple] = true [:'data-placeholder'] = column.[:placeholder] || as_(:_select_) active_scaffold_search_select(column, ) end |