module AutoSelect2::Select2Helpers

Public Instance Methods

ajax_multi_select2_init_header_tags() click to toggle source
# File lib/auto_select2/helpers/select2_helpers.rb, line 11
def ajax_multi_select2_init_header_tags
  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() click to toggle source
# File lib/auto_select2/helpers/select2_helpers.rb, line 4
def ajax_select2_init_header_tags
  unless @select2_ajax_script_included
    @select2_ajax_script_included = true
    javascript_include_tag('auto_select2/ajax_select2')
  end
end
custom_select2_init_header_tags() click to toggle source
# File lib/auto_select2/helpers/select2_helpers.rb, line 18
def custom_select2_init_header_tags
  unless @select2_custom_script_included
    @select2_custom_script_included = true
    javascript_include_tag('auto_select2/custom_select2')
  end
end
data_select2_init_head_tags() click to toggle source
# File lib/auto_select2/helpers/select2_helpers.rb, line 32
def data_select2_init_head_tags
  unless @select2_data_script_included
    @select2_data_script_included = true
    javascript_include_tag('auto_select2/data_select2')
  end
end
static_select2_init_header_tags() click to toggle source
# File lib/auto_select2/helpers/select2_helpers.rb, line 25
def static_select2_init_header_tags
  unless @select2_static_script_included
    @select2_static_script_included = true
    javascript_include_tag('auto_select2/static_select2')
  end
end