Module: BootstrapDatepicker::FormBuilder

Defined in:
lib/app/helpers/form_helper.rb

Instance Method Summary collapse

Instance Method Details

#datepicker(method, options = {}) ⇒ Object



24
25
26
# File 'lib/app/helpers/form_helper.rb', line 24

def datepicker(method, options = {})
  @template.datepicker(@object_name, method, objectify_options(options))
end

#datetime_picker(method, options = {}) ⇒ Object



28
29
30
# File 'lib/app/helpers/form_helper.rb', line 28

def datetime_picker(method, options = {})
  @template.datepicker(@object_name, method, objectify_options(options), true)
end