Listing games

<% @games.each do |game| %> <% end %>
Name Min players per team Max players per team Min teams per match Max teams per match Set rounds Randomized teams
<%= game.name %> <%= game.min_players_per_team %> <%= game.max_players_per_team %> <%= game.min_teams_per_match %> <%= game.max_teams_per_match %> <%= game.set_rounds %> <%= game.randomized_teams %> <%= link_to 'Show', game %> <%= link_to 'Edit', edit_game_path(game) %> <%= link_to 'Destroy', game, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Game', new_game_path %>