From 5084f01e0ea7ba7c378982099fdbf9880857f091 Mon Sep 17 00:00:00 2001 From: tkimia Date: Sun, 6 Apr 2014 21:52:32 -0400 Subject: matches are given teams correctly --- app/views/tournaments/index.html.erb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'app/views/tournaments') diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index e174de7..72eacba 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -15,13 +15,17 @@

<%= t.name %>

<% end %> -
+
Hosted by: <%= t.hosts.first.name %>
-
-

Players per team

-

two

+
+

Players per team: <%= t.min_players_per_team %>

+

Players signed up: <%= t.players.count %>

+
+
+

<%= (t.randomized_teams)? "Teams are Random" : "Teams are Chosen" %>

+

Players signed up: <%= t.players.count %>

@@ -36,7 +40,7 @@ <%= submit_tag("Join") %> <% end %> <% else %> -

You've signed up for this tournament!

+

You've signed up for this tournament!

<% end %>
-- cgit v1.2.3-2-g168b