5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 20:46:22 +00:00
panel/app/views/devise/mailer/invitation_instructions.text.haml
2019-11-15 13:07:16 -03:00

19 lines
563 B
Text

- site = @resource.sites.last
= t('devise.mailer.invitation_instructions.hello', email: @resource.email)
\
= t('devise.mailer.invitation_instructions.someone_invited_you',
url: site.hostname)
\
= site.title
\
= site.description
\
= accept_invitation_url(@resource, invitation_token: @token)
\
- if @resource.invitation_due_at
= t('devise.mailer.invitation_instructions.accept_until',
due_date: l(@resource.invitation_due_at,
format: :'devise.mailer.invitation_instructions.accept_until_format'))
\
= t('devise.mailer.invitation_instructions.ignore')