diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2019-02-03 23:29:34 +0900 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2019-05-27 13:35:28 +0900 |
commit | 34609f7ce466ee5b8f077c0f4e938adc04c647a8 (patch) | |
tree | dda6766fa08aacf5b2f44d63ea675956705b20c0 /app/views/profiles | |
parent | 96fdba8819fbfa54b71b1806a417bc11f246a42d (diff) | |
download | gitlab-ce-34609f7ce466ee5b8f077c0f4e938adc04c647a8.tar.gz |
Fix col-sm-* in forms to keep layout
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/passwords/new.html.haml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/app/views/profiles/passwords/new.html.haml b/app/views/profiles/passwords/new.html.haml index 4b84835429c..081166270ab 100644 --- a/app/views/profiles/passwords/new.html.haml +++ b/app/views/profiles/passwords/new.html.haml @@ -13,13 +13,18 @@ - unless @user.password_automatically_set? .form-group.row - = f.label :current_password, class: 'col-form-label col-sm-2' - .col-sm-10= f.password_field :current_password, required: true, class: 'form-control' + .col-sm-2.col-form-label + = f.label :current_password + .col-sm-10 + = f.password_field :current_password, required: true, class: 'form-control' .form-group.row - = f.label :password, class: 'col-form-label col-sm-2' - .col-sm-10= f.password_field :password, required: true, class: 'form-control' + .col-sm-2.col-form-label + = f.label :password + .col-sm-10 + = f.password_field :password, required: true, class: 'form-control' .form-group.row - = f.label :password_confirmation, class: 'col-form-label col-sm-2' + .col-sm-2.col-form-label + = f.label :password_confirmation .col-sm-10 = f.password_field :password_confirmation, required: true, class: 'form-control' .form-actions |