{% extends 'base.html.twig' %} {% block content %}

Your invites

{# @var invite \App\Entity\Invite #} {% for invite in invites %} {% endfor %}
#
{{ loop.index }} {% if invite.usedBy %} Used by {{ invite.usedBy.username }}. {% else %} {% set invite_url = url('user_register', { inviteCode: invite.code }) %} {% endif %}
{% endblock %}