summaryrefslogtreecommitdiff
path: root/app/views/games/index.html.erb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:34:41 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:34:41 -0500
commit0e8af95b4656d851cc43b45f8c48fd2c4d4c1ed2 (patch)
tree263f0e970f8ce981470e591d94d14700810d7853 /app/views/games/index.html.erb
parent240d8602fb6aaf249b33db7b0c2f8a72add63658 (diff)
parentf5d36fc67d1994b7cc1ce02e7be2767ffcb47857 (diff)
merge ready?
Diffstat (limited to 'app/views/games/index.html.erb')
-rw-r--r--app/views/games/index.html.erb12
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>