From f5d36fc67d1994b7cc1ce02e7be2767ffcb47857 Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Thu, 6 Mar 2014 17:25:40 -0500 Subject: new generate --- app/views/tournaments/index.html.erb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'app/views/tournaments/index.html.erb') diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index ad2b7cf..dec16d1 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -4,6 +4,13 @@ Game + Min players per team + Max players per team + Min teams per match + Max teams per match + Set rounds + Randomized teams + Status @@ -14,6 +21,13 @@ <% @tournaments.each do |tournament| %> <%= tournament.game %> + <%= tournament.min_players_per_team %> + <%= tournament.max_players_per_team %> + <%= tournament.min_teams_per_match %> + <%= tournament.max_teams_per_match %> + <%= tournament.set_rounds %> + <%= tournament.randomized_teams %> + <%= tournament.status %> <%= link_to 'Show', tournament %> <%= link_to 'Edit', edit_tournament_path(tournament) %> <%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' } %> -- cgit v1.2.3-2-g168b