From 42d6e3b1cc05ef5172081682b53675e4827254d3 Mon Sep 17 00:00:00 2001 From: tkimia Date: Tue, 29 Apr 2014 16:41:35 -0400 Subject: elimination works SOMETIMES... other times it just can't put down a damned winner --- lib/sampling/manual.html.erb | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'lib/sampling/manual.html.erb') diff --git a/lib/sampling/manual.html.erb b/lib/sampling/manual.html.erb index 187f002..2bbd6da 100644 --- a/lib/sampling/manual.html.erb +++ b/lib/sampling/manual.html.erb @@ -1,12 +1,30 @@ <% if @tournament.hosts.include? @current_user %> - +
Winner + +
<% @match.teams.each do |team| %> - +
Statistics for Team <%= team.id %> + <% team.users.each do |user| %> +
<%= user.name %> + <% @stats.reject{|s|s=="win"}.each do |stat| %> +

+ +

+ <% end %> +
+ <% end %> +
<% end %> -
<% else %>

The match is running; the host has yet to post the scores of the match.

-- cgit v1.2.3