summaryrefslogtreecommitdiff
path: root/app/views/devise/registrations
diff options
context:
space:
mode:
authorUtkarsh Gupta <guptautkarsh2102@gmail.com>2019-05-21 16:56:27 +0000
committerStan Hu <stanhu@gmail.com>2019-05-21 16:56:27 +0000
commit1a2d05c3a675a08760caeacbc983903a2a4c14ac (patch)
treec9c06bf6fc94cba217d847b76ed95135b7f24bf4 /app/views/devise/registrations
parentab7e8475ce15e57509d7a22127deed36431a66e5 (diff)
downloadgitlab-ce-1a2d05c3a675a08760caeacbc983903a2a4c14ac.tar.gz
Bump devise to 4.6
Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
Diffstat (limited to 'app/views/devise/registrations')
-rw-r--r--app/views/devise/registrations/edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb
index f379e71ae5b..5a1388ac7a1 100644
--- a/app/views/devise/registrations/edit.html.erb
+++ b/app/views/devise/registrations/edit.html.erb
@@ -1,7 +1,7 @@
<h2>Edit <%= resource_name.to_s.humanize %></h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
- <%= devise_error_messages! %>
+ <%= render "devise/shared/error_messages", resource: resource %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>