Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatricio Cano <patricio@gitlab.com>2014-10-22 21:40:41 +0400
committerPatricio Cano <patricio@gitlab.com>2014-10-22 21:40:41 +0400
commit91c96b3714a8f5753d9851ee8e2a859b201f6905 (patch)
treed3cf55423d42c86c16d11b7e228ed61c5f4ec971 /app/views/devise/passwords
parent3d705131f7d1a85dbf09053a200fbf36c6225625 (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/passwords')
-rw-r--r--app/views/devise/passwords/edit.html.haml4
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