<% content_for :title, "Password dimenticata — Match Live TV" %>
<% content_for :robots, "noindex, nofollow" %>

<section class="auth-page">
  <h1>Password dimenticata</h1>
  <p class="auth-lead">Inserisci l’email dell’account: ti invieremo un link per reimpostare la password.</p>
  <div class="card">
    <%= form_with url: public_password_forgot_path, method: :post, local: true do %>
      <%= label_tag :email, "Email" %>
      <%= email_field_tag :email, params[:email], required: true, autocomplete: "email" %>
      <%= submit_tag "Invia link di reset", class: "btn btn-primary" %>
    <% end %>
    <p class="auth-footer"><%= link_to "Torna al login", public_login_path %></p>
  </div>
</section>
