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, ui_options: column.options) ⇒ Object
- #active_scaffold_search_multi_chosen(column, options, ui_options: column.options) ⇒ Object
Instance Method Details
#active_scaffold_search_chosen(column, options, ui_options: column.options) ⇒ Object
36 37 38 39 |
# File 'lib/active_scaffold/bridges/chosen/helpers.rb', line 36 def active_scaffold_search_chosen(column, , ui_options: column.) [:class] << ' chosen' active_scaffold_search_select(column, , ui_options: ) end |
#active_scaffold_search_multi_chosen(column, options, ui_options: 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, , ui_options: column.) [:class] << ' chosen' [:multiple] = true [:'data-placeholder'] = [:placeholder] || as_(:_select_) active_scaffold_search_select(column, , ui_options: ) end |