summaryrefslogtreecommitdiff
path: root/app/views/profile/password.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profile/password.html.haml')
-rw-r--r--app/views/profile/password.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profile/password.html.haml b/app/views/profile/password.html.haml
index 1662f4d9c58..257dacb1ad3 100644
--- a/app/views/profile/password.html.haml
+++ b/app/views/profile/password.html.haml
@@ -1,6 +1,6 @@
%h3.page_title Password
%hr
-= form_for @user, :url => profile_password_path, :method => :put do |f|
+= form_for @user, url: profile_password_path, method: :put do |f|
.data
%p.slead After successful password update you will be redirected to login page where you should login with new password
-if @user.errors.any?
@@ -16,4 +16,4 @@
= f.label :password_confirmation
.input= f.password_field :password_confirmation
.actions
- = f.submit 'Save', :class => "btn primary"
+ = f.submit 'Save', class: "btn primary"