21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-29 07:20:50 +02:00

Add plain text templates for Devise mailers

This commit is contained in:
Jérémy Lecour 2018-06-14 22:44:43 +02:00 committed by Jérémy Lecour
parent 2530264708
commit 73529809da
5 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,4 @@
<%= t('.greeting', recipient: @email) %>
<%= t('.instruction') %>
<%= confirmation_url(@resource, confirmation_token: @token) %>

View file

@ -0,0 +1,7 @@
<%= t('.greeting', recipient: @email) %>
<% if @resource.try(:unconfirmed_email?) %>
<%= t('.message', email: @resource.unconfirmed_email) %>
<% else %>
<%= t('.message', email: @resource.email) %>
<% end %>

View file

@ -0,0 +1,3 @@
<%= t('.greeting', recipient: @resource.email) %>
<%= t('.message') %>

View file

@ -0,0 +1,8 @@
<%= t('.greeting', recipient: @resource.email) %>
<%= t('.instruction') %>
<%= edit_password_url(@resource, reset_password_token: @token) %>
<%= t('.instruction_2') %>
<%= t('.instruction_3') %>

View file

@ -0,0 +1,7 @@
<%= t('.greeting', recipient: @resource.email) %>
<%= t('.message') %>
<%= t('.instruction') %>
<%= link_to t('.action'), unlock_url(@resource, unlock_token: @token) %>