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
9 10 11 12 13 14 |
# File 'app/inputs/date_time_input.rb', line 9 def input() add_autocomplete! .merge() [:value] = value @builder.text_field(attribute_name, (, )) end |
#label_target ⇒ Object
16 17 18 |
# File 'app/inputs/date_time_input.rb', line 16 def label_target attribute_name end |