summaryrefslogtreecommitdiff
path: root/app/views/profiles/passwords/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/passwords/edit.html.haml')
-rw-r--r--app/views/profiles/passwords/edit.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/profiles/passwords/edit.html.haml b/app/views/profiles/passwords/edit.html.haml
index a5fa6e7f186..e5fc5003843 100644
--- a/app/views/profiles/passwords/edit.html.haml
+++ b/app/views/profiles/passwords/edit.html.haml
@@ -14,19 +14,19 @@
%ul
- @user.errors.full_messages.each do |msg|
%li= msg
- .control-group
+ .form-group
= f.label :current_password
- .controls
+ .col-sm-10
= f.password_field :current_password, required: true
%div
= link_to "Forgot your password?", reset_profile_password_path, method: :put
- .control-group
+ .form-group
= f.label :password, 'New password'
- .controls= f.password_field :password, required: true
- .control-group
+ .col-sm-10= f.password_field :password, required: true
+ .form-group
= f.label :password_confirmation
- .controls
+ .col-sm-10
= f.password_field :password_confirmation, required: true
.form-actions
= f.submit 'Save password', class: "btn btn-save"