Sha256: 6d969d9a20938aa15dec50eb6cc21c20a6ecf28ad47194a002ced8946de32445

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

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

      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

3 entries across 3 versions & 2 rubygems

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