<% content_for :title, "Programma partita — #{@team.name}" %>
<% content_for :robots, "noindex, nofollow" %>

<div class="wrap" style="padding-top:20px;max-width:560px">
  <h1>Programma partita</h1>
  <p style="color:#888"><%= @club.name %> · <strong><%= @team.name %></strong></p>
  <div class="card" style="margin-top:16px">
    <%= render "form",
          form_url: public_team_matches_path(@team),
          form_method: :post,
          submit_label: "Salva in programma" %>
  </div>
  <p style="margin-top:16px"><%= link_to "← Elenco partite", public_team_matches_path(@team) %></p>
</div>
