Sha256: 2cd14ed5378c2c6c85d1d223202d85acc9939e3bbb4715a98733b224d4836639
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 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) Effective::FormBuilderInputs::EffectiveTel.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