<h5>Pool 1</h5>
<table class="table table-striped table-bordered">
	<thead>
		<tr>
			<th>Name</th>
			<th>R1</th>
			<th>R2</th>
			<th>R3</th>
		</tr>
	</thead>
	<tbody>
		<% @poolOneWrestlers.sort_by{|x|[x.original_seed]}.each do |w| %>
		<tr>
			<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
			<td><%= w.boutByRound(1,@matches) %><br></td>
			<td><%= w.boutByRound(2,@matches) %></td>
			<td><%= w.boutByRound(3,@matches) %></td>
		</tr>
		<% end %>
  	</tbody>
</table>


<h5>Pool 2</h5>
<table class="table table-striped table-bordered">
	<thead>
		<tr>
			<th>Name</th>
			<th>R1</th>
			<th>R2</th>
			<th>R3</th>
		</tr>
	</thead>
	<tbody>
		<% @poolTwoWrestlers.sort_by{|x|[x.original_seed]}.each do |w| %>
		<tr>
			<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
			<td><%= w.boutByRound(1,@matches) %><br></td>
			<td><%= w.boutByRound(2,@matches) %></td>
			<td><%= w.boutByRound(3,@matches) %></td>
		</tr>
		<% end %>
  	</tbody>
</table>


<h5>Pool 3</h5>
<table class="table table-striped table-bordered">
	<thead>
		<tr>
			<th>Name</th>
			<th>R1</th>
			<th>R2</th>
			<th>R3</th>
		</tr>
	</thead>
	<tbody>
		<% @poolThreeWrestlers.sort_by{|x|[x.original_seed]}.each do |w| %>
		<tr>
			<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
			<td><%= w.boutByRound(1,@matches) %><br></td>
			<td><%= w.boutByRound(2,@matches) %></td>
			<td><%= w.boutByRound(3,@matches) %></td>
		</tr>
		<% end %>
  	</tbody>
</table>


<h5>Pool 4</h5>
<table class="table table-striped table-bordered">
	<thead>
		<tr>
			<th>Name</th>
			<th>R1</th>
			<th>R2</th>
			<th>R3</th>
		</tr>
	</thead>
	<tbody>
		<% @poolFourWrestlers.sort_by{|x|[x.original_seed]}.each do |w| %>
		<tr>
			<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
			<td><%= w.boutByRound(1,@matches) %><br></td>
			<td><%= w.boutByRound(2,@matches) %></td>
			<td><%= w.boutByRound(3,@matches) %></td>
		</tr>
		<% end %>
  	</tbody>
</table>


</br>
</br>
<% if @bracketType == "fourPoolsToQuarter" %>
<%= render 'fourPoolQuarterBracket' %>
<% end %>
<% if @bracketType == "fourPoolsToSemi" %>
<%= render 'fourPoolSemiBracket' %>
<% end %>