Sha256: 30199f5a587edd4c430d9cf70d1e4edd9eea8908f0ad355c4fbe0ed16d4fa352
Contents?: true
Size: 438 Bytes
Versions: 3
Compression:
Stored size: 438 Bytes
Contents
# = simple_form_for @thing do |f| # = f.input :updated_at, :as => :effective_date_picker if defined?(SimpleForm) class EffectiveTimePickerInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Effective::FormBuilderInputs::EffectiveTimePicker.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