From 4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Thu, 12 Apr 2018 18:16:56 -0500 Subject: [skip ci] add col-sm-* for form-horizontal changes to keep layout --- app/views/profiles/passwords/new.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/profiles/passwords') diff --git a/app/views/profiles/passwords/new.html.haml b/app/views/profiles/passwords/new.html.haml index 11c70862aef..2176d7f8a31 100644 --- a/app/views/profiles/passwords/new.html.haml +++ b/app/views/profiles/passwords/new.html.haml @@ -12,13 +12,13 @@ - unless @user.password_automatically_set? .form-group.row - = f.label :current_password, class: 'col-form-label' + = f.label :current_password, class: 'col-form-label col-sm-2' .col-sm-10= f.password_field :current_password, required: true, class: 'form-control' .form-group.row - = f.label :password, class: 'col-form-label' + = f.label :password, class: 'col-form-label col-sm-2' .col-sm-10= f.password_field :password, required: true, class: 'form-control' .form-group.row - = f.label :password_confirmation, class: 'col-form-label' + = f.label :password_confirmation, class: 'col-form-label col-sm-2' .col-sm-10 = f.password_field :password_confirmation, required: true, class: 'form-control' .form-actions -- cgit v1.2.1