summaryrefslogtreecommitdiff
path: root/app/views/matches/index.html.erb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
commitfefe3f469243d6c932c256cc8798bae35e4ff1c4 (patch)
tree7a413b2c3bcfb0cd6842c70ae0ff962b6908172c /app/views/matches/index.html.erb
parentc7469584f3fa51666d5df074d012741cbb2f3663 (diff)
Added Tournament Name.
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 d8122ac..0742770 100644
--- a/app/views/matches/index.html.erb
+++ b/app/views/matches/index.html.erb
@@ -4,6 +4,7 @@
<thead>
<tr>
<th>Tournament</th>
+ <th>Name</th>
<th></th>
<th></th>
<th></th>
@@ -14,6 +15,7 @@
<% @matches.each do |match| %>
<tr>
<td><%= match.tournament %></td>
+ <td><%= match.name %></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>