diff options
Diffstat (limited to 'app/views/profiles/passwords/edit.html.haml')
-rw-r--r-- | app/views/profiles/passwords/edit.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/profiles/passwords/edit.html.haml b/app/views/profiles/passwords/edit.html.haml index e5fc5003843..72f6521d92b 100644 --- a/app/views/profiles/passwords/edit.html.haml +++ b/app/views/profiles/passwords/edit.html.haml @@ -3,7 +3,7 @@ Change your password or recover your current one. %hr .update-password - = form_for @user, url: profile_password_path, method: :put do |f| + = form_for @user, url: profile_password_path, method: :put, html: { class: 'form-horizontal' } do |f| %div %p.slead You must provide current password in order to change it. @@ -15,18 +15,18 @@ - @user.errors.full_messages.each do |msg| %li= msg .form-group - = f.label :current_password + = f.label :current_password, class: 'control-label' .col-sm-10 - = f.password_field :current_password, required: true + = f.password_field :current_password, required: true, class: 'form-control' %div = link_to "Forgot your password?", reset_profile_password_path, method: :put .form-group - = f.label :password, 'New password' - .col-sm-10= f.password_field :password, required: true + = f.label :password, 'New password', class: 'control-label' + .col-sm-10= f.password_field :password, required: true, class: 'form-control' .form-group - = f.label :password_confirmation + = f.label :password_confirmation, class: 'control-label' .col-sm-10 - = f.password_field :password_confirmation, required: true + = f.password_field :password_confirmation, required: true, class: 'form-control' .form-actions = f.submit 'Save password', class: "btn btn-save" |