Sha256: 0e48098d117584d9319dc8ca050b2122803c7b24ff581721978f4d70a1173e0b
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 Bytes
Contents
# = simple_form_for @thing do |f| # = f.input :updated_at, :as => :effective_date_time_picker if defined?(SimpleForm) class EffectiveDateTimePickerInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Effective::FormBuilderInputs::EffectiveDateTimePicker.new(object, object_name, template, attribute_name, input_options, (merge_wrapper_options(input_html_options, wrapper_options) || {})).to_html end end end
Version data entries
3 entries across 3 versions & 1 rubygems