Listing tournaments

<% @tournaments.each do |tournament| %> <% end %>
Name Game Status Min players per team Max players per team Min teams per match Max teams per match Set rounds Randomized teams
<%= tournament.name %> <%= tournament.game %> <%= tournament.status %> <%= 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 %> <%= 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 %>