diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:11:22 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:11:22 -0500 |
commit | c552328617202bd1225abd3e84fc7f4a4b79e4fa (patch) | |
tree | 93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/profiles/passwords | |
parent | 705d7f703b10f5e1a066d0623bf32d07868d6668 (diff) | |
download | gitlab-ce-c552328617202bd1225abd3e84fc7f4a4b79e4fa.tar.gz |
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/profiles/passwords')
-rw-r--r-- | app/views/profiles/passwords/new.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/profiles/passwords/new.html.haml b/app/views/profiles/passwords/new.html.haml index 1242274e6a9..11c70862aef 100644 --- a/app/views/profiles/passwords/new.html.haml +++ b/app/views/profiles/passwords/new.html.haml @@ -2,7 +2,7 @@ - header_title "New Password" %h3.page-title Setup new password %hr -= form_for @user, url: profile_password_path, method: :post, html: { class: 'form-horizontal '} do |f| += form_for @user, url: profile_password_path, method: :post do |f| %p.slead Please set a new password before proceeding. %br @@ -11,13 +11,13 @@ = form_errors(@user) - unless @user.password_automatically_set? - .form-group + .form-group.row = f.label :current_password, class: 'col-form-label' .col-sm-10= f.password_field :current_password, required: true, class: 'form-control' - .form-group + .form-group.row = f.label :password, class: 'col-form-label' .col-sm-10= f.password_field :password, required: true, class: 'form-control' - .form-group + .form-group.row = f.label :password_confirmation, class: 'col-form-label' .col-sm-10 = f.password_field :password_confirmation, required: true, class: 'form-control' |