<!DOCTYPE html>
<html lang="en">
<%- include('partials/_head.ejs') %>
  <body>
<%- include('partials/_header.ejs') %>
    <main role="main">
      <div class="container mt-5">
        <h2>Login</h2>
        <form action="/auth/login" method="POST">
          <div class="mb-3">
            <input type="text" name="username" placeholder="Username" required class="form-control">
          </div>
          <div class="mb-3">
            <input type="password" name="password" placeholder="Password" required class="form-control">
          </div>
          <div class="mb-3">
            <button type="submit" class="btn btn-primary">Login</button>
            Don't have an account? <a href="/auth/register">Register</a>
          </div>
        </form>
      </div>
    </main>
  </body>
<%- include('partials/_footer.ejs') %>
</html>
