<div class="actions"><a class="button" href="/admin/predictions/new/classique">Nouveau prono classique</a><a class="button secondary" href="/admin/predictions/new/cote_boostee">Nouvelle cote boostée</a></div>
<%- include('_pagination', { pagination }) %>
<table class="data"><thead><tr><th>Type</th><th>Match</th><th>Date</th><th>Statut</th><th>Priorité</th><th>Résultat</th><th>Affiliation</th><th>Actions</th></tr></thead><tbody>
<% predictions.forEach(p => { %>
  <tr><td><%= p.type %></td><td><%= p.home_team %> - <%= p.away_team %></td><td><%= formatDateTime(p.match_datetime) %></td><td><%= p.status %></td><td><%= p.display_priority %></td><td><%= p.result_status %></td><td><%= p.affiliate_name || '-' %></td><td><a href="/admin/predictions/<%= p.id %>/edit">Modifier</a><form method="post" action="/admin/predictions/<%= p.id %>/delete/"><input type="hidden" name="_csrf" value="<%= csrfToken %>"><button>Supprimer</button></form></td></tr>
<% }) %>
</tbody></table>
<%- include('_pagination', { pagination }) %>
