Module: BootstrapDatepicker::DatepickerHelper

Includes:
FormHelper
Defined in:
lib/app/helpers/datepicker_helper.rb

Instance Method Summary collapse

Methods included from FormHelper

#datepicker

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, options = {})
  datepicker(object_name, method, options)
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, options = {})
  datepicker(object_name, method, options, true)
end