From 2a226ea31078e66bb71fe73b1c58b643bb834fcc Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Tue, 11 Aug 2015 17:19:53 +0200 Subject: Add cancel link in registrations/edit. Fixes #37064 --- app/views/devise/registrations/edit.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 154ecf1c8..dd3051098 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -6,7 +6,7 @@
<%= f.input :email, required: true, autofocus: true %> <%= f.input :name, required: true %> - + <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>

Currently waiting confirmation for: <%= resource.unconfirmed_email %>

<% end %> @@ -18,7 +18,6 @@
<%= f.button :submit %> + <%= link_to t("cancel"), :back %>
<% end %> - - -- cgit v1.2.3