Class: DateTimeInput
- Inherits:
-
SimpleForm::Inputs::DateTimeInput
- Object
- SimpleForm::Inputs::DateTimeInput
- DateTimeInput
- Defined in:
- app/inputs/date_time_input.rb
Overview
Copyright © 2008-2013 Michael Dvorkin and contributors.
Fat Free CRM is freely distributable under the terms of MIT license. See MIT-LICENSE file or www.opensource.org/licenses/mit-license.php
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
7 8 9 10 11 12 |
# File 'app/inputs/date_time_input.rb', line 7 def input() add_autocomplete! .merge() .merge!(value: value) @builder.text_field(attribute_name, (, )) end |
#label_target ⇒ Object
14 15 16 |
# File 'app/inputs/date_time_input.rb', line 14 def label_target attribute_name end |