diff options
author | Patricio Cano <patricio@gitlab.com> | 2014-10-22 21:40:41 +0400 |
---|---|---|
committer | Patricio Cano <patricio@gitlab.com> | 2014-10-22 21:40:41 +0400 |
commit | 91c96b3714a8f5753d9851ee8e2a859b201f6905 (patch) | |
tree | d3cf55423d42c86c16d11b7e228ed61c5f4ec971 /app/views/devise | |
parent | 3d705131f7d1a85dbf09053a200fbf36c6225625 (diff) |
Added a password strength indicator
to the reset password view and the change password view after first login.
Updated JS to work with the updated views.
Diffstat (limited to 'app/views/devise')
-rw-r--r-- | app/views/devise/passwords/edit.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml index 1326cc0aac9..f6cbf9b82ba 100644 --- a/app/views/devise/passwords/edit.html.haml +++ b/app/views/devise/passwords/edit.html.haml @@ -6,8 +6,8 @@ .devise-errors = devise_error_messages! = f.hidden_field :reset_password_token - %div - = f.password_field :password, class: "form-control top", placeholder: "New password", required: true + .form-group#password-strength + = f.password_field :password, class: "form-control top", id: "user_password_recover", placeholder: "New password", required: true %div = f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm new password", required: true .clearfix.append-bottom-10 |