<h2>Teams</h2>
<table class="admin-table">
  <thead><tr><th>Nome</th><th>Società</th><th>Sport</th><th>YouTube</th><th>Fatture</th></tr></thead>
  <tbody>
    <% @teams.each do |t| %>
      <tr>
        <td><%= link_to t.name, admin_team_path(t) %></td>
        <td><%= t.club&.name || "—" %></td>
        <td><%= t.sport %></td>
        <td><%= t.youtube_credential.present? ? "✓" : "—" %></td>
        <td>
          <% if t.club %>
            <%= link_to "Fatturazione", admin_billing_path(club_id: t.club.id) %>
          <% else %>
            —
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>
