Class: FlexaFormtasticBootstrap::Inputs::SearchInput

Inherits:
Formtastic::Inputs::SearchInput
  • Object
show all
Includes:
Base, Base::Stringish
Defined in:
lib/flexa_formtastic_bootstrap/inputs/search_input.rb

Instance Method Summary collapse

Methods included from Base::Stringish

#wrapper_html_options

Methods included from Base::Wrapping

#clearfix_div_wrapping, #generic_input_wrapping, #inline_inputs_div_wrapping, #input_div_wrapping, #prepended_input_wrapping, #wrapper_html_options

Methods included from Base::Labelling

#label_html_options

Methods included from Base::Html

#input_html_options

Methods included from Base::Hints

#hint_html

Methods included from Base::Errors

#error_first_html, #error_html, #error_list_html, #error_none_html, #error_sentence_html

Instance Method Details

#to_htmlObject



7
8
9
10
11
# File 'lib/flexa_formtastic_bootstrap/inputs/search_input.rb', line 7

def to_html
  generic_input_wrapping do
    builder.search_field(method, input_html_options)
  end
end