{% extends "mail/base.html" %}

{% load i18n %}{% load translations %}

{% block content %}
<p>
  {% include "snippets/invite-info.html" %}
</p>

{% if invitation.user %}
<div class="line buttons">
  <a class="button" href="{{ invitation.get_absolute_url }}">{% trans "View invitation" %}</a>
</div>
{% else %}
  {% include "mail/shared-registration.html" with url=invitation.get_absolute_url action="invite" %}
{% endif %}

{% endblock %}
