<%- include('partials/header') %>
    <div class="regForm">
        <form action="/Login" method="post" class="form-signin">
            <div class="center">
                <h1 class="h3 mb-3 fw-normal">Please Log in</h1>
            </div>
            <% if(message !='' ){ %>
                <div class="alert alert-danger" role="alert">
                    <%=message%>
                </div>
                <% } %>
                    <div class="form-floating">
                        <input type="email" class="form-control" name="username" style="margin-bottom: -1px; border-bottom-right-radius: 0;
                border-bottom-left-radius: 0;" placeholder="name@example.com" required>
                        <label for="username">Email address</label>
                    </div>
                    <div class="form-floating">
                        <input type="password" class="form-control" name="password" style="margin-top: -1px; border-top-left-radius: 0;
                border-top-right-radius: 0; -webkit-text-security: disc" placeholder="Password" required>
                        <label for="password">Password</label>
                    </div>

                    <div class="checkbox mb-3">
                        <label>
                            <input type="checkbox" value="remember-me"> Remember me
                        </label>
                    </div>
                    <button class="w-100 btn btn-lg btn-outline-secondary" type="submit">Log in</button>
                    <div class="col-12">
                        <p class="small mb-0">Don't have account?<a href="/Register">Create
                                an
                                account</a>
                    </div>
        </form>
    </div>
    <%- include('partials/footer') %>