Sha256: 7b9311790b36dd684d68485e8483c39fbf0a66c450b15487f87274b58e702235

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

module SimpleForm
  module Inputs
    class PasswordInput < Base
      enable :placeholder

      def input
        add_size!
        add_maxlength!
        @builder.password_field(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/password_input.rb
simple_form-1.5.1 lib/simple_form/inputs/password_input.rb
simple_form-1.5.0 lib/simple_form/inputs/password_input.rb