diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-27 17:02:10 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-27 17:02:10 -0500 |
commit | de40ec53e8b80d8d880214183f19ea93172a0026 (patch) | |
tree | cb25d099fa0252d2b43db850f21c69ccd03907e3 /app/views/tournaments/index.html.erb | |
parent | 3a7b14f4a51c0fdb8b71720f361a0a8ccf080325 (diff) |
give tournaments a game type
Diffstat (limited to 'app/views/tournaments/index.html.erb')
-rw-r--r-- | app/views/tournaments/index.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index 7124111..ad2b7cf 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -3,6 +3,7 @@ <table> <thead> <tr> + <th>Game</th> <th></th> <th></th> <th></th> @@ -12,6 +13,7 @@ <tbody> <% @tournaments.each do |tournament| %> <tr> + <td><%= tournament.game %></td> <td><%= link_to 'Show', tournament %></td> <td><%= link_to 'Edit', edit_tournament_path(tournament) %></td> <td><%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' } %></td> |