From effe4608e808a385bb912fccac26381d0bd0c95a Mon Sep 17 00:00:00 2001 From: tkimia Date: Thu, 3 Apr 2014 18:03:25 -0400 Subject: matches table is back, and a lot of things are fixed --- app/views/matches/index.html.erb | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'app/views') diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb index babf45e..d4ddb0e 100644 --- a/app/views/matches/index.html.erb +++ b/app/views/matches/index.html.erb @@ -1,28 +1,23 @@ -

<%= @tournament.name %> Matches

+

<%= @tournament.name %> - Matches

- +
- - - - - + <% @tournament.matches.each do |match| %> - - + - + <% end %> @@ -37,7 +32,8 @@ xmlns="http://www.w3.org/2000/svg"> <% (1..@matches.count).each do |i| %> - + + <% end %> -- cgit v1.2.3-2-g168b
StatusTournament Name WinnerRemote
<%= match.tournament.id %> <%= match.status %><%= match.tournament %><%= match.id%> <%= match.name %><%= match.winner %><%= link_to "Show", tournament_match_path(@tournament, match) %>