Module: ActionView::Helpers::FormOptionsHelper

Defined in:
lib/generators/rolemodel/simple_form/templates/app/inputs/tailored_select_input.rb

Instance Method Summary collapse

Instance Method Details

#tailored_select(object, method, collection, value_method, text_method, options = {}, html_options = {}) ⇒ Object



21
22
23
24
# File 'lib/generators/rolemodel/simple_form/templates/app/inputs/tailored_select_input.rb', line 21

def tailored_select(object, method, collection, value_method, text_method, options = {}, html_options = {})
  Tags::TailoredSelect.new(object, method, self, collection, value_method, text_method, options,
                           html_options).render
end