mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 17:31:27 +00:00
30 lines
873 B
Text
30 lines
873 B
Text
|
|
<% 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 %>
|
|
|
|
<%= render partial: "brackets/bracket", collection: contest.brackets %>
|
|
|
|
<% if cuser and cuser.admin? and params[:action] != "historical" %>
|
|
<%= link_to 'Edit Brackets', edit_contest_path(contest), class: 'button' %>
|
|
<% end %>
|