   <td>
                {% if invitation.group.defining_project %}
                  <a href="{{ invitation.group.defining_project.get_absolute_url }}">{{ invitation.group.defining_project }}</a>
                {% endif %}
              </td>
              <td>
                <span class="badge">{{ invitation.group }}</span>
              </td>
              <td>
                <form action="{{ invitation.get_absolute_url }}" method="post" class="inlineform">
                  {% csrf_token %}
          