<?php require __DIR__.'/../layouts/header.php'; ?>
<div class="auth">
  <h1>Welcome back</h1>
  <p>Sign in to continue.</p>
  <form method="post" action="<?= url('login') ?>">
    <?= csrf() ?>
    <label>Email
      <input type="email" name="email" required value="<?= old('email') ?>">
    </label>
    <label>Password
      <input type="password" name="password" required autocomplete="current-password">
    </label>
    <button class="btn" type="submit">Sign in</button>
  </form>
  <p style="margin-top:14px;font-size:14px">No account? <a href="<?= url('register') ?>">Create one</a></p>
</div>
<?php require __DIR__.'/../layouts/footer.php'; ?>
