{% extends "emailbase.html" %}

{% block body %}
<p>Dear <strong>{{ name }}</strong>,</p>

<p>
  {{ manager }} is inviting you to join his team {{ teamname }}
  on rowsandall.com
</p>
<p>
  By accepting the invite, you will have access to your
  team's workouts on rowsandall.com and your workouts will 
  be visible to 
  the members of the team.
</p>
<p>
  By accepting the invite, you are agreeing with the sharing 
  of personal data according to our privacy policy.
</p>
<p>
  If you already have an account on rowsandall.com, you can login to the
  site and you will find the invitation here on the Teams page:
  <a href="{{ siteurl }}/rowers/me/teams">{{ siteurl }}/rowers/me/teams</a>
</p>
<p>
  You can also click the direct link:
  <a href="{{ siteurl }}/rowers/me/invitation/{{ code }}">
    {{ siteurl }}/rowers/me/invitation/{{ code }}</a>
</p>
<p>
  If you are not yet registered to rowsandall.com, 
  you can register for free at
  <a href="{{ siteurl }}/rowers/register">{{ siteurl }}/rowers/register</a>
</p>
<p>
  After you set up your account, you can use the direct link: 
  <a href="{{ siteurl }}/rowers/me/invitation/{{ code }}">
    {{ siteurl }}/rowers/me/invitation/{{ code }}</a>
</p>
<p>
  You can also manually accept your team membership with the code.
  You will need to do this if you registered under a different email address than this one.
</p>
<p>
  Code: {{ code }}
</p>
<p>
  Link to manually accept your team membership:
  <a href="{{ siteurl }}/rowers/me/invitation">
    {{ siteurl }}/rowers/me/invitation</a>
</p>

<p>
  Best Regards, the Rowsandall Team
</p>
{% endblock %}
