Sha256: 1c8fc04809f33c56a3215fdbe59f53bb00d4a82c76e0adc1115a9e4eebd6a1df

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

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

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

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

  def input_method
    :text_field
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_form_with_client_validation-0.0.2 test/support/discovery_inputs.rb
simple_form_with_client_validation-0.0.0 test/support/discovery_inputs.rb