2024-05-29 02:22:44 +04:00
|
|
|
@model LoginModel
|
|
|
|
@{
|
2024-04-30 21:05:53 +04:00
|
|
|
ViewBag.SelectedSiteMenuItem = SiteMenuItems.Login;
|
|
|
|
}
|
2024-04-30 21:55:00 +04:00
|
|
|
<div class="d-flex w-100 h-100 align-content-center justify-content-center">
|
|
|
|
<form class="d-flex flex-column" id="loginForm"method="post">
|
|
|
|
<h4>Вход</h4>
|
2024-05-29 02:22:44 +04:00
|
|
|
@foreach (var item in Model.Errors)
|
|
|
|
{
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
@item
|
|
|
|
</div>
|
|
|
|
}
|
2024-04-30 21:55:00 +04:00
|
|
|
<div class="mb-2 d-flex w-100">
|
|
|
|
<label for="emailInput" class="me-2">
|
|
|
|
Email
|
|
|
|
</label>
|
2024-05-29 02:22:44 +04:00
|
|
|
<input id="emailInput" required type="email" placeholder="mail@example.com" asp-for="Email" class="w-100"/>
|
2024-04-30 21:55:00 +04:00
|
|
|
</div>
|
|
|
|
<div class="mb-2 d-flex w-100">
|
|
|
|
<label for="passwordInput" class="me-2">
|
|
|
|
Пароль
|
|
|
|
</label>
|
2024-05-29 02:22:44 +04:00
|
|
|
<input id="passwordInput" required type="password" asp-for="Password" class="w-100"/>
|
2024-04-30 21:55:00 +04:00
|
|
|
</div>
|
|
|
|
<button class="btn btn-outline-primary" type="submit">
|
|
|
|
Войти
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|