Sha256: 083860053652409e8452a915ab4c6ffb00ded1ff458f5466f60a8b718c7f2cc8
Contents?: true
Size: 417 Bytes
Versions: 3
Compression:
Stored size: 417 Bytes
Contents
# = simple_form_for @thing do |f| # = f.input :email, :as => :effective_email if defined?(SimpleForm) class EffectiveEmailInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Effective::FormBuilderInputs::EffectiveEmail.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