class Trestle::Form::Fields::PasswordField < Trestle::Form::Fields::FormControl def field builder.raw_password_field(name, options) end end Trestle::Form::Builder.register(:password_field, Trestle::Form::Fields::PasswordField)