Class: FormtasticBootstrap::Inputs::SelectInput

Inherits:
Formtastic::Inputs::SelectInput
  • Object
show all
Includes:
Base, Base::Collections
Defined in:
lib/formtastic-bootstrap/inputs/select_input.rb

Instance Method Summary collapse

Methods included from Base::Wrapping

#add_on_content, #add_on_wrapper_classes, #bootstrap_wrapping, #form_group_wrapping, #input_content, #prepended_or_appended?, #wrapper_html_options

Methods included from Base::Labelling

#label_html, #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

#form_control_input_html_options, #input_html_options

Instance Method Details

#to_htmlObject



8
9
10
11
12
# File 'lib/formtastic-bootstrap/inputs/select_input.rb', line 8

def to_html
  bootstrap_wrapping do
    builder.select(input_name, collection, input_options, form_control_input_html_options)
  end
end