diff options
| author | Alban Peignier | 2015-08-11 17:19:53 +0200 |
|---|---|---|
| committer | Alban Peignier | 2015-08-11 17:19:53 +0200 |
| commit | 2a226ea31078e66bb71fe73b1c58b643bb834fcc (patch) | |
| tree | 946623e80758b0fcc44e413675d15ecb8b6b3653 /app | |
| parent | 532efe9ea5b9ee61a7180d39c4dbb63b8b454b1b (diff) | |
| download | chouette-core-2a226ea31078e66bb71fe73b1c58b643bb834fcc.tar.bz2 | |
Add cancel link in registrations/edit. Fixes #37064
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/devise/registrations/edit.html.erb | 5 |
1 files 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 @@ <div class="form-inputs"> <%= f.input :email, required: true, autofocus: true %> <%= f.input :name, required: true %> - + <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <p>Currently waiting confirmation for: <%= resource.unconfirmed_email %></p> <% end %> @@ -18,7 +18,6 @@ <div class="form-actions"> <%= f.button :submit %> + <%= link_to t("cancel"), :back %> </div> <% end %> - - |
