Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/unobtrusive_date_picker.rb

Instance Method Summary collapse

Instance Method Details

#unobtrusive_date_picker(method, options = {}, html_options = {}) ⇒ Object



394
395
396
# File 'lib/unobtrusive_date_picker.rb', line 394

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

#unobtrusive_date_text_picker(method, options = {}, html_options = {}) ⇒ Object



398
399
400
# File 'lib/unobtrusive_date_picker.rb', line 398

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

#unobtrusive_datetime_picker(method, options = {}, html_options = {}) ⇒ Object



402
403
404
# File 'lib/unobtrusive_date_picker.rb', line 402

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