sutty/app/views/devise/mailer/invitation_instructions.text.haml

7 lines
491 B
Text
Raw Normal View History

2019-07-05 23:55:59 +00:00
= t("devise.mailer.invitation_instructions.hello", email: @resource.email)
= t("devise.mailer.invitation_instructions.someone_invited_you", url: @resource.sites.first.name)
2019-07-05 23:55:59 +00:00
= 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")