Class: Formtastic::Inputs::DateTimePickerInput
- Inherits:
-
DatePickerInput
- Object
- DatePickerInput
- Formtastic::Inputs::DateTimePickerInput
- Defined in:
- lib/formtastic/date_time_picker_input.rb
Instance Method Summary collapse
Instance Method Details
#css_class ⇒ Object
8 9 10 |
# File 'lib/formtastic/date_time_picker_input.rb', line 8 def css_class "ui-datepicker-input ui-datetime-picker" end |
#format ⇒ Object
4 5 6 |
# File 'lib/formtastic/date_time_picker_input.rb', line 4 def format [:format] || I18n.t('time.formats.date_picker', :default => '%A, %d de %B de %Y, %H:%M h') end |