<% content_for :title, "Accedi — Match Live TV" %>

<section class="auth-page">
  <h1>Accedi</h1>
  <div class="card">
    <%= form_with url: public_login_path do |f| %>
      <%= label_tag :email, "Email" %>
      <%= email_field_tag :email, params[:email], required: true %>
      <%= label_tag :password, "Password" %>
      <%= password_field_tag :password, required: true %>
      <%= submit_tag "Entra", class: "btn btn-primary" %>
    <% end %>
    <p class="auth-footer">Nuovo? <%= link_to "Registrati", public_signup_path %></p>
  </div>
</section>
