foodsoft/app/views/mailer/invite.text.haml

7 lines
431 B
Text
Raw Normal View History

= raw t '.text', user: @invite.user.name, mail: @invite.user.email, group: @invite.group.name, link: @link, expires: I18n.l(@invite.expires_at)
2013-02-06 00:50:59 +01:00
-# append english text only if the locale is not english
- if not I18n.locale.to_s.start_with?('en')
=======
\
= raw t '.text', user: @invite.user.name, mail: @invite.user.email, group: @invite.group.name, link: @link, expires: I18n.l(@invite.expires_at, locale: :en), locale: :en