{% if regforms %}
{% trans %}Registration{% endtrans %}
{% 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 %}
{% if not g.static_site %}
{% if regform.publish_registration_count %} {{- regform.active_registration_count }} {%- if regform.registration_limit %} / {{ regform.registration_limit }} {%- endif -%} {% endif %}
{% if registration %} {% if registration.can_be_modified %} {% trans %}Modify registration{% endtrans %} {% endif %} {% elif regform.limit_reached %} {% trans %}Register{% endtrans %} {% elif regform.moderation_enabled %} {% trans %}Apply for participation{% endtrans %} {% else %} {% trans %}Register{% endtrans %} {% endif %}
{% endif %}
{% endfor %}
{% endif %} {% if event.published_registrations %}
{% trans %}Participants{% endtrans %}
    {%- for participant in event.published_registrations|sort(attribute='display_full_name') -%}
  • {{ participant.display_full_name }}
  • {%- endfor -%}
{% endif %}