Class: AbAdmin::Views::Inputs::DateTimePickerInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
lib/ab_admin/views/inputs/date_time_picker_input.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options = nil) ⇒ Object


5
6
7
8
9
# File 'lib/ab_admin/views/inputs/date_time_picker_input.rb', line 5

def input(wrapper_options=nil)
  input_html_options[:value] ||= formated_value
  input_html_classes << input_type
  @builder.text_field(attribute_name, input_html_options)
end