Sha256: d900619cdca4f9bced4e0cf0b02b4a7f7de92b6b09aa847ca18dbe3d81bb02bc
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 EffectiveDatePickerInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Effective::FormBuilderInputs::EffectiveDatePicker.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