@using CatalogTop.ViewModels.Account;
@model LoginViewModel
@{
    ViewBag.Title = "Вход в аккаунт";
}
<p>@ViewBag.returnUrl</p>
<section class="h-10 h-custom">
    <div class="row d-flex justify-content-center align-items-center h-10">
        <div class="col-lg-8 col-xl-6">
            <div class="card rounded-3 bg-light">
                <div class="card-body p-4 p-md-5">
                    <h3 class="mb-4 pb-2 pb-md-0 mb-md-5 px-md-2">Вход</h3>

                    <form class="px-md-2" method="post" asp-controller="Account" asp-action="Login">
                        <div class="validation" asp-validation-summary="All"></div>

                        <div class="form-outline mb-4">
                            <span class="text-danger" asp-validation-for="Email"></span>
                            <input type="email" id="form3Example1q" class="form-control" asp-for="Email" />
                            <label class="form-label" asp-for="Email">Почта</label>
                        </div>

                        <div class="form-outline mb-4">
                            <span calss="text-danger" asp-validation-for="Password"></span>
                            <input type="password" id="form3Example1q" class="form-control" asp-for="Password" />
                            <label class="form-label" asp-for="Password">Пароль</label>
                        </div>

                        <button asp-action="Login" type="submit" class="btn btn-success btn-lg mb-1">Войти</button>

                    </form>

                </div>
            </div>
        </div>
    </div>
</section>