Listing teams

<% @teams.each do |team| %> <% end %>
Match
<%= team.match %> <%= link_to 'Show', team %> <%= link_to 'Edit', edit_team_path(team) %> <%= link_to 'Destroy', team, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Team', new_team_path %>