Module: BootstrapDatepicker::DatepickerHelper
- Includes:
- FormHelper
- Defined in:
- lib/app/helpers/datepicker_helper.rb
Instance Method Summary collapse
-
#datepicker_input(object_name, method, options = {}) ⇒ Object
Helper method that creates a datepicker input field.
- #datetime_picker_input(object_name, method, options = {}) ⇒ Object
Methods included from FormHelper
Instance Method Details
#datepicker_input(object_name, method, options = {}) ⇒ Object
Helper method that creates a datepicker input field
9 10 11 |
# File 'lib/app/helpers/datepicker_helper.rb', line 9 def datepicker_input(object_name, method, = {}) datepicker(object_name, method, ) end |
#datetime_picker_input(object_name, method, options = {}) ⇒ Object
13 14 15 |
# File 'lib/app/helpers/datepicker_helper.rb', line 13 def datetime_picker_input(object_name, method, = {}) datepicker(object_name, method, , true) end |