Class: DateTimeInput

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

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options) ⇒ Object



2
3
4
5
6
# File 'app/inputs/date_time_input.rb', line 2

def input(wrapper_options)
  merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)

  (:div, input_group(merged_input_options), class: "input-group datetime")
end