mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 23:31:41 +00:00
enviar correos en texto plano
This commit is contained in:
parent
d9a7d69e06
commit
0444f1a6cb
12 changed files with 32 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
= t('.greeting', recipient: @email)
|
||||
\
|
||||
= t('.instruction')
|
||||
\
|
||||
= confirmation_url(@resource, confirmation_token: @token)
|
6
app/views/devise/mailer/email_changed.text.haml
Normal file
6
app/views/devise/mailer/email_changed.text.haml
Normal file
|
@ -0,0 +1,6 @@
|
|||
= t('.greeting', recipient: @email)
|
||||
\
|
||||
- if @resource.try(:unconfirmed_email?)
|
||||
= t('.message', email: @resource.unconfirmed_email)
|
||||
- else
|
||||
= t('.message', email: @resource.email)
|
3
app/views/devise/mailer/password_change.text.haml
Normal file
3
app/views/devise/mailer/password_change.text.haml
Normal file
|
@ -0,0 +1,3 @@
|
|||
= t('.greeting', recipient: @resource.email)
|
||||
\
|
||||
= t('.message')
|
|
@ -0,0 +1,9 @@
|
|||
= t('.greeting', recipient: @resource.email)
|
||||
\
|
||||
= t('.instruction')
|
||||
\
|
||||
= edit_password_url(@resource, reset_password_token: @token)
|
||||
\
|
||||
= t('.instruction_2')
|
||||
\
|
||||
= t('.instruction_3')
|
7
app/views/devise/mailer/unlock_instructions.text.haml
Normal file
7
app/views/devise/mailer/unlock_instructions.text.haml
Normal file
|
@ -0,0 +1,7 @@
|
|||
= t('.greeting', recipient: @resource.email)
|
||||
\
|
||||
= t('.message')
|
||||
\
|
||||
= t('.instruction')
|
||||
\
|
||||
= unlock_url(@resource, unlock_token: @token)
|
|
@ -1,3 +1,4 @@
|
|||
= yield
|
||||
|
||||
\
|
||||
= '-- '
|
||||
= t('.signature')
|
||||
|
|
Loading…
Reference in a new issue