Skip to content

Commit

Permalink
Do not show blank password hint when creating a new user
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Brown authored and parndt committed Mar 29, 2010
1 parent 13e4900 commit b429bf2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -11,7 +11,7 @@
<div class='field'>
<%= f.label :password %>
<%= f.password_field :password %><br />
<span class="preview">Leaving password blank keeps the current password</span>
<% unless @user.new_record? %><span class="preview">Leaving password blank keeps the current password</span><% end %>
</div>
<div class='field'>
<%= f.label :password_confirmation %>
Expand Down

0 comments on commit b429bf2

Please sign in to comment.