Make text e-mails consistent with HTML ones in UserMailer (#6291)
* Make text e-mails consistent with HTML ones in UserMailer * Fix UserMailer specs
This commit is contained in:
parent
0b888acfd4
commit
01421999ae
85 changed files with 51 additions and 657 deletions
12
app/views/user_mailer/confirmation_instructions.text.erb
Normal file
12
app/views/user_mailer/confirmation_instructions.text.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<%= t 'devise.mailer.confirmation_instructions.title' %>
|
||||
|
||||
===
|
||||
|
||||
<%= t 'devise.mailer.confirmation_instructions.explanation', host: site_hostname %>
|
||||
|
||||
=> <%= confirmation_url(@resource, confirmation_token: @token) %>
|
||||
|
||||
<%= strip_tags(t('devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: terms_url)) %>
|
||||
|
||||
=> <%= about_more_url %>
|
||||
=> <%= terms_url %>
|
Loading…
Add table
Add a link
Reference in a new issue