@page
@model TicketOffice.Pages.Auth.LoginModel

@{
    Layout = "~/Pages/Shared/_Layout.cshtml";
    ViewData["Title"] = "Авторизація";
}

<link rel="stylesheet" href="~/css/Auth.css" asp-append-version="true"/>

<div class="wrapper">
    <form class="auth-form" method="post">
        <div class="header">
            Авторизація
        </div>
        
        <input class="field" type="text" placeholder="E-mail" autocomplete="off" asp-for="Email"/>
        <div class="validation-error">
            <span>@Model.emailValidation</span>
        </div>
        <br>

        <input class="field" type="password" placeholder="Пароль" autocomplete="off" asp-for="Password"/>
        <div class="validation-error">
            <span>@Model.passwordValidation</span>
        </div>
        <br>

        <input class="submit-btn" type="submit" value="Авторизуватись"/>

        <div class="hint">
            Не маєте аккаунта?
            <a href="/Auth/Registration" class="link">Зареєструватись</a>
        </div>
    </form>
</div>