Sha256: 722e027596226fac724781968ad3aff307eb950634909e4577944d2a4b4c7c87
Contents?: true
Size: 304 Bytes
Versions: 15
Compression:
Stored size: 304 Bytes
Contents
class Trestle::Form::Fields::PasswordField < Trestle::Form::Fields::FormControl def field builder.raw_password_field(name, options) end def defaults super.merge(autocomplete: "new-password") end end Trestle::Form::Builder.register(:password_field, Trestle::Form::Fields::PasswordField)
Version data entries
15 entries across 15 versions & 1 rubygems