<%- include('include/_header') %>
<!-- /include header -->


    <!-- Main Site -->
    <div class="container">
        <h1 class="text-center">Login</h1>
        <div class="row justify-content-md-center">
          <div class="col-">
            <form method="POST" action="/login">
              <div class="form-group">
                <label for="name">Email</label>
                <input
                  type="email"
                  class="form-control"
                  id="email"
                  name="email"
                  placeholder="Enter Email"
                />

                <% if (errors['email']) { %>
                <p style="color: red"><%= errors['email'].message %></p>
                <% } %>
              </div>
              <div class="form-group">
                <label for="password">Password</label>
                <input type="password" class="form-control" name="password" />
                <% if (errors['password']) { %>
                <p style="color: red"><%= errors['password'].message %></p>
                <% } %>
              </div>

              <button type="submit" class="btn btn-primary">Submit</button>
            </form>
          </div>
        </div>
      </div>
    <!-- /Main Site -->


<!-- include footer -->
<%- include('include/_footer') %>
<!-- /include footer -->