Sha256: 588a56b6c65c3cb9c908c2aae13aba28e18ef395b721e6f6edbee6af093cabe4

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 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

3 entries across 3 versions & 1 rubygems

Version Path
simple_form-1.4.2 test/discovery_inputs.rb
simple_form-1.4.1 test/discovery_inputs.rb
simple_form-1.4.0 test/discovery_inputs.rb