Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/rolemodel/simple_form/templates/app/inputs/tailored_select_input.rb

Instance Method Summary collapse

Instance Method Details

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



14
15
16
17
# File 'lib/generators/rolemodel/simple_form/templates/app/inputs/tailored_select_input.rb', line 14

def tailored_select(method, collection, value_method, text_method, options = {}, html_options = {})
  @template.tailored_select(@object_name, method, collection, value_method, text_method,
                            objectify_options(options), @default_html_options.merge(html_options))
end