From 0867bc68749873aa131c0f3b273771b5f70ae778 Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Tue, 1 Apr 2014 17:14:05 -0400 Subject: players can now leave tournaments --- app/views/matches/index.html.erb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'app/views/matches/index.html.erb') diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb index d862d57..f1019ec 100644 --- a/app/views/matches/index.html.erb +++ b/app/views/matches/index.html.erb @@ -1,5 +1,6 @@ -

Listing matches

+

<%= @tournament.name %> Matches

+ -<%= link_to 'New Match', new_tournament_match_path %> + + + <% @matches.each do |tournament | %> + + + + <% end %> + + \ No newline at end of file -- cgit v1.2.3