30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
@model LoginModel
|
|
@{
|
|
ViewBag.SelectedSiteMenuItem = SiteMenuItems.Login;
|
|
}
|
|
<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>
|
|
@foreach (var item in Model.Errors)
|
|
{
|
|
<div class="alert alert-danger" role="alert">
|
|
@item
|
|
</div>
|
|
}
|
|
<div class="mb-2 d-flex w-100">
|
|
<label for="emailInput" class="me-2">
|
|
Email
|
|
</label>
|
|
<input id="emailInput" required type="email" placeholder="mail@example.com" asp-for="Email" class="w-100"/>
|
|
</div>
|
|
<div class="mb-2 d-flex w-100">
|
|
<label for="passwordInput" class="me-2">
|
|
Пароль
|
|
</label>
|
|
<input id="passwordInput" required type="password" asp-for="Password" class="w-100"/>
|
|
</div>
|
|
<button class="btn btn-outline-primary" type="submit">
|
|
Войти
|
|
</button>
|
|
</form>
|
|
</div> |