summaryrefslogtreecommitdiff
path: root/app/views/tournaments/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tournaments/index.html.erb')
-rw-r--r--app/views/tournaments/index.html.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb
index ad2b7cf..26d0643 100644
--- a/app/views/tournaments/index.html.erb
+++ b/app/views/tournaments/index.html.erb
@@ -3,17 +3,17 @@
<table>
<thead>
<tr>
- <th>Game</th>
- <th></th>
- <th></th>
- <th></th>
+ <th>Tournament ID</th>
+ <th>Show Tournament</th>
+ <th>Edit Tournament</th>
+ <th>Delete Tournament</th>
</tr>
</thead>
<tbody>
<% @tournaments.each do |tournament| %>
<tr>
- <td><%= tournament.game %></td>
+ <td><%= tournament.id %></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>
@@ -24,4 +24,4 @@
<br>
-<%= link_to 'New Tournament', new_tournament_path %>
+<%= link_to 'New Tournament', new_tournament_path, :class => "btn btn-warning btn-lg" %>