Sha256: 66752772890d99c1502c12bee24362a7265eb0c26fec495b2da8380339f31cbf
Contents?: true
Size: 396 Bytes
Versions: 78
Compression:
Stored size: 396 Bytes
Contents
# = simple_form_for @thing do |f| # = f.input :phone, :as => :effective_tel if defined?(SimpleForm) class EffectiveTelInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Inputs::EffectiveTel::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
78 entries across 78 versions & 1 rubygems