{% extends "global/Page.html" %}
{% load otree static %}

{% block title %}
    Switch Results
{% endblock %}

{% block content %}
	<br>
	<table class="table table-striped table-bordered">
		<tr>
			<th>Action</th>
			<th colspan="100%">People</th>
		</tr>
		<tr>
			<td>Joined</td>
			{% for player in group.get_joined_team %}
			<td>Player #{{player.participant_id}}</td>
			{% endfor %}
		</tr>
		<tr>
			<td>Left</td>
			{% for player in group.get_left_team %}
			<td>Player #{{player.participant_id}}</td>
			{% endfor %}
		</tr>
			<td>Attempted</td>
			{% for player in group.attempted %}
			<td>Player #{{player.participant_id}}</td>
		    {% endfor %}
		<tr>
		</tr>
	</table>
	<br>
  {% next_button %}

{% endblock %}
