Sha256: 0b2a091ef4abfdf1def53df8929803cf690523ffce870125061bfb884fcd823f

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

module SimpleForm
  module Inputs
    class TextInput < Base
      enable :placeholder, :maxlength, :minlength

      def input(wrapper_options = nil)
        merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)

        @builder.text_area(attribute_name, merged_input_options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
simple_form-3.5.0 lib/simple_form/inputs/text_input.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simple_form-3.4.0/lib/simple_form/inputs/text_input.rb
simple_form-3.4.0 lib/simple_form/inputs/text_input.rb