<?php use App\Core\View; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex">
<title>Sign in — Touch Therapies CMS</title>
<link rel="stylesheet" href="<?= View::url('/assets/admin.css') ?>">
</head>
<body class="login-page">
<form class="login-card" method="post" action="<?= View::url('/admin/login') ?>">
  <h1>Touch <em>Therapies</em></h1>
  <p class="sub">Content Management System</p>
  <?php if ($error): ?><div class="flash err"><?= View::e($error) ?></div><?php endif; ?>
  <input type="hidden" name="_csrf" value="<?= $csrf ?>">
  <label>Email
    <input type="email" name="email" required autofocus autocomplete="username">
  </label>
  <label>Password
    <input type="password" name="password" required autocomplete="current-password">
  </label>
  <button type="submit">Sign in</button>
</form>
</body>
</html>
