Class: DatePickerInput

Inherits:
SimpleForm::Inputs::TextInput
  • Object
show all
Defined in:
app/inputs/date_picker_input.rb

Overview

Displays a text field with a JQuery DatePicker widget.

1. Allows for empty dates (i.e. no date)

Instance Method Summary collapse

Instance Method Details

#input(_wrapper_options = nil) ⇒ Object



5
6
7
# File 'app/inputs/date_picker_input.rb', line 5

def input(_wrapper_options = nil)
  @builder.text_field(attribute_name, input_html_options).html_safe
end