<!DOCTYPE html>
<html lang="hr">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Prijava – Apartman App</title>
  <link rel="stylesheet" href="/css/style.css">
</head>
<body>
  <div class="login-wrap">
    <div class="login-box">
      <h1>Apartman App</h1>
      <% if (error) { %>
        <div class="error-box"><%= error %></div>
      <% } %>
      <form method="POST" action="/login">
        <div class="form-group">
          <label for="password">Lozinka</label>
          <input type="password" id="password" name="password" required autofocus>
        </div>
        <button type="submit" class="btn" style="width:100%;">Prijavi se</button>
      </form>
    </div>
  </div>
</body>
</html>
