{% for pos in current.positions %}
{% with matching|find_complex_participation:pos.id as participation %}
{% if participation is not None %}
{% include "baseshiftstructures/participation_card_inline.html" %}
{% elif pos.required %}
{{ pos.label }}
{% endif %}
{% endwith %}
{% endfor %}
{% if not current.positions or current.optional %}
{# show a transparent box as vertical whitespace #}
{% endif %}