Listing tournaments

<% @tournaments.each do |tournament| %> <% end %>
Game Status Name Min players per team Max players per team Min teams per match Max teams per match Set rounds Randomized teams Sampling method Scoring method
<%= tournament.game %> <%= tournament.status %> <%= tournament.name %> <%= 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.sampling_method %> <%= tournament.scoring_method %> <%= link_to 'Show', tournament %> <%= link_to 'Edit', edit_tournament_path(tournament) %> <%= link_to 'Destroy', tournament, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Tournament', new_tournament_path %>