- 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 \ - if @resource.created_by_invite? = accept_invitation_url(@resource, invitation_token: @token, change_locale_to: @resource.lang) \ - 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') - else = root_url(change_locale_to: @resource.lang) = t('devise.mailer.invitation_instructions.sign_in')