Sha256: 15644e9a05cba2845def4b4350f9416fb0187bc8d356d3be9c5b6e5e10a6ea9f
Contents?: true
Size: 417 Bytes
Versions: 3
Compression:
Stored size: 417 Bytes
Contents
# = simple_form_for @thing do |f| # = f.input :price, :as => :effective_price if defined?(SimpleForm) class EffectivePriceInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Effective::FormBuilderInputs::EffectivePrice.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