Module: AutoSelect2::Select2Helpers
- Defined in:
- lib/auto_select2/helpers.rb,
lib/auto_select2/helpers/select2_helpers.rb
Instance Method Summary collapse
- #ajax_multi_select2_init_header_tags ⇒ Object
- #ajax_select2_init_header_tags ⇒ Object
- #static_select2_init_header_tags ⇒ Object
Instance Method Details
#ajax_multi_select2_init_header_tags ⇒ Object
11 12 13 14 15 16 |
# File 'lib/auto_select2/helpers/select2_helpers.rb', line 11 def unless @select2_multi_ajax_script_included @select2_multi_ajax_script_included = true javascript_include_tag('auto_select2/multi_ajax_select2_value_parser') end end |
#ajax_select2_init_header_tags ⇒ Object
4 5 6 7 8 9 |
# File 'lib/auto_select2/helpers/select2_helpers.rb', line 4 def unless @select2_ajax_script_included @select2_ajax_script_included = true javascript_include_tag('auto_select2/ajax_select2') end end |
#static_select2_init_header_tags ⇒ Object
18 19 20 21 22 23 |
# File 'lib/auto_select2/helpers/select2_helpers.rb', line 18 def unless @select2_static_script_included @select2_static_script_included = true javascript_include_tag('auto_select2/static_select2') end end |