Class: ActiveAdmin::Inputs::DatepickerInput

Inherits:
Formtastic::Inputs::StringInput
  • Object
show all
Defined in:
lib/active_admin/inputs/datepicker_input.rb

Instance Method Summary collapse

Instance Method Details

#input_html_optionsObject



4
5
6
7
8
# File 'lib/active_admin/inputs/datepicker_input.rb', line 4

def input_html_options
  options = super
  options[:class] = [options[:class], "datepicker"].compact.join(' ')
  options
end