2019-11-15 16:07:16 +00:00
|
|
|
- site = @resource.sites.last
|
2019-09-24 23:14:25 +00:00
|
|
|
|
|
|
|
%p= t('devise.mailer.invitation_instructions.hello',
|
|
|
|
email: @resource.email)
|
|
|
|
%p= t('devise.mailer.invitation_instructions.someone_invited_you',
|
|
|
|
url: site.hostname)
|
|
|
|
|
|
|
|
%h1= site.title
|
|
|
|
%p= site.description
|
|
|
|
|
2023-03-20 20:22:40 +00:00
|
|
|
- if @resource.created_by_invite?
|
|
|
|
%p= link_to t('devise.mailer.invitation_instructions.accept'),
|
|
|
|
accept_invitation_url(@resource, invitation_token: @token)
|
2019-09-24 23:14:25 +00:00
|
|
|
|
2023-03-20 20:22:40 +00:00
|
|
|
- if @resource.invitation_due_at
|
|
|
|
%p= t('devise.mailer.invitation_instructions.accept_until',
|
|
|
|
due_date: l(@resource.invitation_due_at,
|
|
|
|
format: :'devise.mailer.invitation_instructions.accept_until_format'))
|
2019-09-24 23:14:25 +00:00
|
|
|
|
2023-03-20 20:22:40 +00:00
|
|
|
%p= t('devise.mailer.invitation_instructions.ignore')
|
|
|
|
- else
|
|
|
|
%p= link_to t('devise.mailer.invitation_instructions.sign_in'), root_url
|