Class: SimpleDateSelectInput
- Inherits:
-
FormtasticBootstrap::Inputs::DateSelectInput
- Object
- FormtasticBootstrap::Inputs::DateSelectInput
- SimpleDateSelectInput
- Includes:
- Formtastic::Inputs::Base, FormtasticBootstrap::Inputs::Base::Errors, FormtasticBootstrap::Inputs::Base::Hints, FormtasticBootstrap::Inputs::Base::Labelling, FormtasticBootstrap::Inputs::Base::Wrapping
- Defined in:
- app/inputs/simple_date_select_input.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
9 10 11 12 13 |
# File 'app/inputs/simple_date_select_input.rb', line 9 def to_html bootstrap_wrapping do builder.date_select(method, {:start_year => 100.years.ago.year, :include_blank => true}, {:class => "datetime-selector"}) end end |