Class: TailoredSelectInput

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

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options = nil) ⇒ Object



65
66
67
68
69
70
# File 'lib/generators/rolemodel/simple_form/templates/app/inputs/tailored_select_input.rb', line 65

def input(wrapper_options = nil)
  @builder.tailored_select(
    attribute_name, collection, *detect_collection_methods.reverse, input_options,
    merge_wrapper_options(input_html_options, wrapper_options)
  )
end

#input_html_classesObject



72
73
74
# File 'lib/generators/rolemodel/simple_form/templates/app/inputs/tailored_select_input.rb', line 72

def input_html_classes
  []
end