Sha256: e8c2e108b6a21726de9ef3710eb7b3b250a8c45b8f402b74c370368dd14c0069

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

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

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

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
simple_form-3.3.1 lib/simple_form/inputs/password_input.rb
simple_form-3.3.0 lib/simple_form/inputs/password_input.rb
simple_form-3.2.1 lib/simple_form/inputs/password_input.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/simple_form-3.2.0/lib/simple_form/inputs/password_input.rb
simple_form-3.2.0 lib/simple_form/inputs/password_input.rb
simple_form-3.1.1 lib/simple_form/inputs/password_input.rb
simple_form-3.1.0 lib/simple_form/inputs/password_input.rb
simple_form-3.1.0.rc2 lib/simple_form/inputs/password_input.rb
simple_form-3.1.0.rc1 lib/simple_form/inputs/password_input.rb