{% for regform in regforms %}
{% set registration = user_registrations[regform] %}
{% if loop.length == 1 and registration %}
{% trans %}You have registered for this event.{% endtrans %}
{% elif loop.length == 1 and regform.open %}
{% trans %}This event is open to new participants.{% endtrans %}
{% else %}
{{ regform.title }}
{% endif %}