<h1>Listing players</h1>

<table>
<% for player in @players %>
  <tr>
  <td><%= h(player.display_name) %></td>
    <td><%= link_to 'Show', player_path(player) %></td>
    <td><%= link_to 'Edit', edit_player_path(player) %></td>
    <td><%= link_to 'Destroy', player_path(player), 
        :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
<br />

<%= link_to 'New player', new_player_path %>