Class: DatepickerInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- DatepickerInput
- Defined in:
- app/inputs/datepicker_input.rb
Instance Method Summary collapse
Instance Method Details
#input ⇒ Object
2 3 4 5 |
# File 'app/inputs/datepicker_input.rb', line 2 def input @builder.text_field(attribute_name, ) + \ @builder.hidden_field(attribute_name, { :class => attribute_name.to_s + "-alt"}) end |