summaryrefslogtreecommitdiff
path: root/app/views/devise/passwords/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/passwords/edit.html.haml')
-rw-r--r--app/views/devise/passwords/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml
index dd1edb5fdc9..09ea7716a47 100644
--- a/app/views/devise/passwords/edit.html.haml
+++ b/app/views/devise/passwords/edit.html.haml
@@ -3,7 +3,7 @@
.login-body
= form_for(resource, as: resource_name, url: password_path(:user), html: { method: :put, class: 'gl-show-field-errors' }) do |f|
.devise-errors
- = devise_error_messages!
+ = render "devise/shared/error_messages", resource: resource
= f.hidden_field :reset_password_token
.form-group
= f.label 'New password', for: "user_password"