summaryrefslogtreecommitdiff
path: root/app/views/profiles/passwords
diff options
context:
space:
mode:
authorPatricio Cano <patricio@gitlab.com>2014-10-22 20:39:02 -0500
committerPatricio Cano <patricio@gitlab.com>2014-10-22 20:39:02 -0500
commit7039c9868a3209d89f8306c65ca5b74f8e2ea2c0 (patch)
treeaa9f2c79b84374b1c86704a8d2abc0d0f6e41526 /app/views/profiles/passwords
parent10528341c296fafca8388159d7b0023cd2ffb1cb (diff)
downloadgitlab-ce-7039c9868a3209d89f8306c65ca5b74f8e2ea2c0.tar.gz
Updated the IDs of the fields, so that it wouldn't mess with many tests
Updated some tests to match new IDs
Diffstat (limited to 'app/views/profiles/passwords')
-rw-r--r--app/views/profiles/passwords/edit.html.haml2
-rw-r--r--app/views/profiles/passwords/new.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/passwords/edit.html.haml b/app/views/profiles/passwords/edit.html.haml
index 4440dcf338d..8e84d312194 100644
--- a/app/views/profiles/passwords/edit.html.haml
+++ b/app/views/profiles/passwords/edit.html.haml
@@ -24,7 +24,7 @@
.form-group#password-strength
= f.label :password, 'New password', class: 'control-label'
.col-sm-10
- = f.password_field :password, required: true, class: 'form-control'
+ = f.password_field :password, required: true, class: 'form-control', id: 'user_password_profile'
.form-group
= f.label :password_confirmation, class: 'control-label'
.col-sm-10
diff --git a/app/views/profiles/passwords/new.html.haml b/app/views/profiles/passwords/new.html.haml
index b52514668e3..746b3a721e1 100644
--- a/app/views/profiles/passwords/new.html.haml
+++ b/app/views/profiles/passwords/new.html.haml
@@ -16,7 +16,7 @@
.col-sm-10= f.password_field :current_password, required: true, class: 'form-control'
.form-group#password-strength
= f.label :password, class: 'control-label'
- .col-sm-10= f.password_field :password, required: true, class: 'form-control'
+ .col-sm-10= f.password_field :password, required: true, class: 'form-control', id: 'user_password_profile'
.form-group
= f.label :password_confirmation, class: 'control-label'
.col-sm-10