2014-03-23 00:22:25 +00:00
|
|
|
|
|
|
|
<% if contest.status == Contest::STATUS_OPEN %>
|
|
|
|
<h3 class="center">
|
|
|
|
Signups
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<table class="data">
|
|
|
|
<tr>
|
|
|
|
<th width="5%"> </th>
|
|
|
|
<th width="70%">Team</th>
|
|
|
|
<th>Founder</th>
|
|
|
|
<th>Members</th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% contest.contesters.active.each do |contester| %>
|
|
|
|
<tr class="<%= cycle('even', 'odd') %>" height="18">
|
|
|
|
<td><%= flag contester.team.country %></td>
|
|
|
|
<td><%= link_to (h contester.team.name), contester %></td>
|
|
|
|
<td><%= namelink contester.team.founder %></td>
|
|
|
|
<td><%= contester.team.teamers.active.count %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
<% end %>
|
|
|
|
|
2014-04-26 02:42:16 +00:00
|
|
|
<%= render partial: "brackets/bracket", collection: contest.brackets %>
|
2014-03-23 00:22:25 +00:00
|
|
|
|
|
|
|
<% if cuser and cuser.admin? and params[:action] != "historical" %>
|
2014-04-26 02:42:16 +00:00
|
|
|
<%= link_to 'Edit Brackets', edit_contest_path(contest), class: 'button' %>
|
2014-03-23 00:22:25 +00:00
|
|
|
<% end %>
|