{% extends 'bom/bom-base.html' %} {% block head-title %}{{ title }}{% endblock %} {% block content %}
{% if invite %}Join {{ invite.organization.name }}{% else %}Invitation{% endif %} {% if invite %}

{% firstof invite.invited_by.get_full_name invite.invited_by.username "An admin" %} invited {{ invite.email }} to join {{ invite.organization.name }} as {{ invite.role_display }}.

{% endif %} {% if invite_error %}

{{ invite_error }}

{% endif %} {% if invite and not invite_error %}
{% csrf_token %} {% url 'bom:home' as cancel_url %} {% include 'bom/components/form-actions.html' with cancel_url=cancel_url submit_label='Join organization' only %}
{% endif %}
{% endblock %}