Sha256: 0c8f5f05a06458788636ac925a753d5a13450a0ac87207766f4d9156e09cf17f

Contents?: true

Size: 234 Bytes

Versions: 21

Compression:

Stored size: 234 Bytes

Contents

module SimpleForm
  module Inputs
    class PasswordInput < Base
      enable :placeholder, :maxlength

      def input
        add_size!
        @builder.password_field(attribute_name, input_html_options)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
simple_form-2.0.0.rc lib/simple_form/inputs/password_input.rb