From 47bc3a7ea3e15aa4bfc511b47f6c9d82ca033341 Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Wed, 27 Jun 2018 12:38:30 +0200 Subject: [PATCH 1/2] Remove unused EN devise view --- app/views/users/unlocks/new.html.erb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 app/views/users/unlocks/new.html.erb diff --git a/app/views/users/unlocks/new.html.erb b/app/views/users/unlocks/new.html.erb deleted file mode 100644 index 1eefabbb8..000000000 --- a/app/views/users/unlocks/new.html.erb +++ /dev/null @@ -1,16 +0,0 @@ -

Resend unlock instructions

- -<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %> - <%= devise_error_messages! %> - -
- <%= f.label :email %>
- <%= f.email_field :email, autofocus: true %> -
- -
- <%= f.submit "Resend unlock instructions" %> -
-<% end %> - -<%= render "users/shared/links" %> From 34663db15863cd9f4e0ed20ae702dcffa9677e11 Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Wed, 27 Jun 2018 12:41:43 +0200 Subject: [PATCH 2/2] Translate devise view --- app/views/users/confirmations/new.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/confirmations/new.html.erb b/app/views/users/confirmations/new.html.erb index 3df9635f9..fbcac0308 100644 --- a/app/views/users/confirmations/new.html.erb +++ b/app/views/users/confirmations/new.html.erb @@ -1,4 +1,4 @@ -

Resend confirmation instructions

+

Renvoyer les instructions de confirmation de compte

<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> <%= devise_error_messages! %> @@ -9,7 +9,7 @@
- <%= f.submit "Resend confirmation instructions" %> + <%= f.submit "Renvoyer les instructions de confirmation" %>
<% end %>