aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/tags/password_field.rb
blob: 008df0f8174c687c426a9f60a0a6117aae130875 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true
module ActionView
  module Helpers
    module Tags # :nodoc:
      class PasswordField < TextField # :nodoc:
        def render
          @options = { value: nil }.merge!(@options)
          super
        end
      end
    end
  end
end