<%- await include("partials/header.ejs", {req, res, title: "Login"}) %>
<p>Admin Login</p>
<form action="/do_login" method="post">
  <input type="hidden" name="to" value="<%= req.query.to %>" />
  <table>
    <tbody>
      <tr>
        <td>Email</td>
        <td><input type="text" name="email" /></td>
      </tr>
      <tr>
        <td>Password</td>
        <td><input type="password" name="password" /></td>
      </tr>
      <tr>
        <td colspan="2" class="right">
          <input type="submit" value="Login" />
        </td>
      </tr>
    </tbody>
  </table>
</form>
<%- await include("partials/footer.ejs", {req, res}) %>
