Sha256: 820af8f5d7b88fb9b03e0329b0f081a846bd1667fdbfddc6ff45f1aceb74db02
Contents?: true
Size: 402 Bytes
Versions: 73
Compression:
Stored size: 402 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) Inputs::EffectivePrice::Input.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
73 entries across 73 versions & 1 rubygems