I have this form:
=form_for @current_user, :url => update_password_path do |f|
%label{:for => ""} * New Password
=f.password_field :password, :value => ""
But when the开发者_开发知识库 current user has a password, this field is populated on the page despite the :value => ""
How can I force this field blank on the page and still use form_for?
password_field_tag "user[password]", ""
精彩评论