@page
@model webserver.Pages.Account.LoginModel
@{
}

<div class="container border" style="padding:20px">
    <form method="post">
        <div class="text-danger" asp-validation-summary="ModelOnly"></div>

        <div class="form-group row">
            <div class="col-2">
                <label asp-for="Credential.Email"></label>
            </div>
            <div class="col-5">
                <input type="text" asp-for="Credential.Email" class="form-control" />
            </div>
            <span class="text-danger" asp-validation-for="Credential.Email"></span>
        </div>
        <div class="form-group row">
            <div class="col-2">
                <label asp-for="Credential.Password"></label>
            </div>
            <div class="col-5">
                <input type="password" asp-for="Credential.Password" class="form-control" />
            </div>
            <span class="text-danger" asp-validation-for="Credential.Password"></span>
        </div>
        <div class="form-group row">
            <div class="col-2">
                <input type="submit" class="btn btn-primary" value="Login" />
            </div>
            <div class="col-5">
                
            </div>
        </div>
        <div class="form-group form-check">
            <p></p>
            <input asp-for="@Model.RememberMe" type="checkbox" class="form-check-input" />
            <label asp-for="@Model.RememberMe" class="form-check-label">Remember me</label>
        </div>
    </form>

    <p></p>
    <a href="/Accounts/Register" class="btn btn-primary" style="background-color: green; padding: 0.5% 1%; font-size: 95%">Register</a>


</div>