diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 16:38:52 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 16:38:52 -0400 |
commit | 8435c0a5ec9889a9da6ede2e24c044d64b279095 (patch) | |
tree | d277b31519df83e8a1c060b04c6ea6cf50b5c361 /app/views/tournaments/index.html.erb | |
parent | 4d58cc07933fd0a0756c667b38f2e0658302aebf (diff) | |
parent | 4e754e04d6bd04267e5a55011aa9f4f2a2fc7859 (diff) |
Tournament Name added
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 %> |