Sha256: 276e9b26f18fe3fb0180800c5bf23fca0fc45f256185c22f33bc6b50b411c540

Contents?: true

Size: 218 Bytes

Versions: 3

Compression:

Stored size: 218 Bytes

Contents

module SimpleForm
  module Inputs
    class TextInput < Base
      enable :placeholder

      def input
        add_maxlength!
        @builder.text_area(attribute_name, input_html_options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple_form-1.5.2 lib/simple_form/inputs/text_input.rb
simple_form-1.5.1 lib/simple_form/inputs/text_input.rb
simple_form-1.5.0 lib/simple_form/inputs/text_input.rb