Class: Formtastic::Inputs::DateTimePickerInput

Inherits:
DatePickerInput
  • Object
show all
Defined in:
lib/formtastic/date_time_picker_input.rb

Instance Method Summary collapse

Instance Method Details

#css_classObject



8
9
10
# File 'lib/formtastic/date_time_picker_input.rb', line 8

def css_class
  "ui-datepicker-input ui-datetime-picker"
end

#formatObject



4
5
6
# File 'lib/formtastic/date_time_picker_input.rb', line 4

def format
  input_options[:format] || I18n.t('time.formats.date_picker', :default => '%A, %d de %B de %Y, %H:%M h')
end