summaryrefslogtreecommitdiff
path: root/app/views/matches/index.html.erb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-02-18 20:42:51 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-02-18 20:42:51 -0500
commit96b97d691f6889004c38bef15411bc27e448fda1 (patch)
tree7105a54b40fc11ca38a67ff2f520cc977532da44 /app/views/matches/index.html.erb
parent1b95d76d2bded709f512ccdca851388b8691708f (diff)
Changes to generate.sh
Diffstat (limited to 'app/views/matches/index.html.erb')
-rw-r--r--app/views/matches/index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb
index 22ae41e..d8122ac 100644
--- a/app/views/matches/index.html.erb
+++ b/app/views/matches/index.html.erb
@@ -3,6 +3,7 @@
<table>
<thead>
<tr>
+ <th>Tournament</th>
<th></th>
<th></th>
<th></th>
@@ -12,6 +13,7 @@
<tbody>
<% @matches.each do |match| %>
<tr>
+ <td><%= match.tournament %></td>
<td><%= link_to 'Show', match %></td>
<td><%= link_to 'Edit', edit_match_path(match) %></td>
<td><%= link_to 'Destroy', match, method: :delete, data: { confirm: 'Are you sure?' } %></td>