Class: ExtForm::Helpers::Tags::GroupedCollectionSelect
- Inherits:
-
ActionView::Helpers::Tags::GroupedCollectionSelect
- Object
- ActionView::Helpers::Tags::GroupedCollectionSelect
- ExtForm::Helpers::Tags::GroupedCollectionSelect
- Defined in:
- lib/ext_form/helpers/tags/grouped_collection_select.rb
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/ext_form/helpers/tags/grouped_collection_select.rb', line 5 def render output = super = {} add_default_name_and_id() output << @template_object.javascript_tag do "$(function(){$('##{['id']}').trigger('select2_load');});".html_safe end output.html_safe end |