diff options
author | Utkarsh Gupta <guptautkarsh2102@gmail.com> | 2019-05-21 19:56:27 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-21 19:56:27 +0300 |
commit | 1a2d05c3a675a08760caeacbc983903a2a4c14ac (patch) | |
tree | c9c06bf6fc94cba217d847b76ed95135b7f24bf4 /app/views/devise/passwords | |
parent | ab7e8475ce15e57509d7a22127deed36431a66e5 (diff) |
Bump devise to 4.6
Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
Diffstat (limited to 'app/views/devise/passwords')
-rw-r--r-- | app/views/devise/passwords/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/devise/passwords/new.html.haml | 2 |
2 files changed, 2 insertions, 2 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" diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml index 99ce13adf74..fe999851605 100644 --- a/app/views/devise/passwords/new.html.haml +++ b/app/views/devise/passwords/new.html.haml @@ -3,7 +3,7 @@ .login-body = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f| .devise-errors - = devise_error_messages! + = render "devise/shared/error_messages", resource: resource .form-group = f.label :email = f.email_field :email, class: "form-control", required: true, value: params[:user_email], autofocus: true, title: 'Please provide a valid email address.' |