Class: SimpleForm::Inputs::AutocompleteInput
- Inherits:
-
Base
- Object
- Base
- SimpleForm::Inputs::AutocompleteInput
- Defined in:
- lib/simple_form/inputs/autocomplete_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/simple_form/inputs/autocomplete_input.rb', line 6 def input( = nil) = (, ) @builder.text_field(attribute_name, ) << @builder.hidden_field(attribute_name, ) end |