diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-06 17:34:41 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-06 17:34:41 -0500 |
commit | 0e8af95b4656d851cc43b45f8c48fd2c4d4c1ed2 (patch) | |
tree | 263f0e970f8ce981470e591d94d14700810d7853 /app/views/games/index.html.erb | |
parent | 240d8602fb6aaf249b33db7b0c2f8a72add63658 (diff) | |
parent | f5d36fc67d1994b7cc1ce02e7be2767ffcb47857 (diff) |
merge ready?
Diffstat (limited to 'app/views/games/index.html.erb')
-rw-r--r-- | app/views/games/index.html.erb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb index 9893cbc..79acd1e 100644 --- a/app/views/games/index.html.erb +++ b/app/views/games/index.html.erb @@ -4,8 +4,10 @@ <thead> <tr> <th>Name</th> - <th>Players per team</th> - <th>Teams per match</th> + <th>Min players per team</th> + <th>Max players per team</th> + <th>Min teams per match</th> + <th>Max teams per match</th> <th>Set rounds</th> <th>Randomized teams</th> <th></th> @@ -18,8 +20,10 @@ <% @games.each do |game| %> <tr> <td><%= game.name %></td> - <td><%= game.players_per_team %></td> - <td><%= game.teams_per_match %></td> + <td><%= game.min_players_per_team %></td> + <td><%= game.max_players_per_team %></td> + <td><%= game.min_teams_per_match %></td> + <td><%= game.max_teams_per_match %></td> <td><%= game.set_rounds %></td> <td><%= game.randomized_teams %></td> <td><%= link_to 'Show', game %></td> |