summaryrefslogtreecommitdiff
path: root/app/views/games/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/games/index.html.erb')
-rw-r--r--app/views/games/index.html.erb14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb
index 7ee69d1..79acd1e 100644
--- a/app/views/games/index.html.erb
+++ b/app/views/games/index.html.erb
@@ -1,11 +1,13 @@
<h1>Listing games</h1>
-<table>
+<table class="table table-hover">
<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>