method

password_field

password_field(object_name, method, options = {})
public

Works just like text_field, but returns an input tag of the "password" type instead.