Class: FlexaFormtasticBootstrap::Inputs::DatePickerInput
- Inherits:
-
Formtastic::Inputs::DatetimeInput
- Object
- Formtastic::Inputs::DatetimeInput
- FlexaFormtasticBootstrap::Inputs::DatePickerInput
- Includes:
- Base, Base::Stringish, Base::Timeish
- Defined in:
- lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb
Instance Method Summary collapse
Methods included from Base::Timeish
#date_input_html, #fragment_id, #fragment_input_html, #label_html, #time_input_html
Methods included from Base::Wrapping
#clearfix_div_wrapping, #generic_input_wrapping, #inline_inputs_div_wrapping, #input_div_wrapping, #prepended_input_wrapping
Methods included from Base::Labelling
Methods included from Base::Hints
Methods included from Base::Errors
#error_first_html, #error_html, #error_list_html, #error_none_html, #error_sentence_html
Instance Method Details
#input_html_options ⇒ Object
18 19 20 |
# File 'lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb', line 18 def super.merge(:class => "datepicker_flexa") end |
#to_html ⇒ Object
8 9 10 11 12 |
# File 'lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb', line 8 def to_html generic_input_wrapping do builder.text_field(method, ) end end |
#wrapper_html_options ⇒ Object
14 15 16 |
# File 'lib/flexa_formtastic_bootstrap/inputs/date_picker_input.rb', line 14 def #super.merge(:class => "#{super[:class]} datePicker" ) end |