Class: DateTimeInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
app/inputs/date_time_input.rb

Overview

DateTimeInput

Just renders a normal text field instead of trying to be a date selector. The date_time_input javascript will take care of filling it in.

Instance Method Summary collapse

Instance Method Details

#inputObject



9
10
11
# File 'app/inputs/date_time_input.rb', line 9

def input
  @builder.text_field(attribute_name, input_html_options)
end