Class: FormtasticBootstrap::Inputs::TextInput

Inherits:
Formtastic::Inputs::TextInput
  • Object
show all
Includes:
Base
Defined in:
lib/formtastic-bootstrap/inputs/text_input.rb

Instance Method Summary collapse

Methods included from Base::Wrapping

#appended_input_wrapping, #bootstrap_wrapping, #control_group_wrapping, #controls_wrapper_html_options, #controls_wrapping, #prepended_and_appended_input_wrapping, #prepended_input_wrapping, #wrapper_html_options

Methods included from Base::Labelling

#control_label_html, #control_label_html_options, #label_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

Methods included from Base::Html

#input_html_options

Instance Method Details

#to_htmlObject



6
7
8
9
10
# File 'lib/formtastic-bootstrap/inputs/text_input.rb', line 6

def to_html
  bootstrap_wrapping do
    builder.text_area(method, input_html_options)
  end
end