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

<div class="wrap" style="padding-top:20px;max-width:560px">
  <h1>Modifica partita</h1>
  <p style="color:#888"><%= @team.name %> vs <strong><%= @match.opponent_name %></strong></p>
  <div class="card" style="margin-top:16px">
    <%= render "form",
          form_url: public_team_match_path(@team, @match),
          form_method: :patch,
          submit_label: "Salva modifiche" %>
  </div>
  <p style="margin-top:16px"><%= link_to "← Elenco partite", public_team_matches_path(@team) %></p>
</div>
