PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicWebAppImplementer/Views/User/Register.cshtml

42 lines
1.7 KiB
Plaintext
Raw Normal View History

@model RegisterModel
@{
ViewBag.SelectedSiteMenuItem = SiteMenuItems.Register;
}
<div class="d-flex w-100 h-100 align-content-center justify-content-center">
<form class="d-flex flex-column" id="registerForm" 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="fioInput" class="me-2">
ФИО
</label>
<input id="fioInput" required asp-for="FIO" placeholder="Иванов Иван Иванович" class="w-100" />
</div>
<div class="mb-2 d-flex w-100">
<label for="emailInput" class="me-2">
Email
</label>
<input id="emailInput" required type="email" asp-for="Email" placeholder="mail@example.com" 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>
<div class="mb-2 d-flex w-100">
<label for="confirmPasswordInput" class="me-2">
Повторите пароль
</label>
<input id="confirmPasswordInput" required type="password" asp-for="ConfirmPassword" class="w-100" />
</div>
<button class="btn btn-outline-success" type="submit">
Зарегистрироваться
</button>
</form>
</div>