diff options
Diffstat (limited to 'app/views/tournaments/index.html.erb')
-rw-r--r-- | app/views/tournaments/index.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index 7fb4a1d..90c3d7a 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -4,6 +4,7 @@ <table class="table table-hover"> <thead> <tr> + <th>Name</th> <th>Game</th> <th>Status</th> <th>Players per team</th> @@ -18,7 +19,7 @@ <tbody> <% @tournaments.each do |tournament| %> <tr> - <td><%= tournament.id %></td> + <td><%= tournament.name %></td> <td><% case tournament.status when 0 %> <%= form_tag(tournament_path(tournament), method: "put") do %> |