Merge pull request #2181 from betagouv/translate-en-to-fr-views

Translate en to fr views
This commit is contained in:
Mathieu Magnin 2018-07-02 11:45:39 +02:00 committed by GitHub
commit 68bcbf7557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 18 deletions

View file

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

View file

@ -1,16 +0,0 @@
<h2>Resend unlock instructions</h2>
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="actions">
<%= f.submit "Resend unlock instructions" %>
</div>
<% end %>
<%= render "users/shared/links" %>