Sha256: b41569d181484ed865b9e6f9fe4a32fd775d5e9aa426889dd38b3b63f6157c17

Contents?: true

Size: 404 Bytes

Versions: 7

Compression:

Stored size: 404 Bytes

Contents

class StringInput < SimpleForm::Inputs::StringInput
  def input
    "<section>#{super}</section>".html_safe
  end
end

class NumericInput < SimpleForm::Inputs::NumericInput
  def input
    "<section>#{super}</section>".html_safe
  end
end

class CustomizedInput < SimpleForm::Inputs::StringInput
  def input
    "<section>#{super}</section>".html_safe
  end

  def input_method
    :text_field
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ehoch_simple_form-2.0.2.dev test/support/discovery_inputs.rb
simple_form-2.0.1 test/support/discovery_inputs.rb
simple_form-2.0.0 test/support/discovery_inputs.rb
simple_form-2.0.0.rc test/support/discovery_inputs.rb
simple_form-1.5.2 test/discovery_inputs.rb
simple_form-1.5.1 test/discovery_inputs.rb
simple_form-1.5.0 test/discovery_inputs.rb