CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptClientApp/Views/Home/Privacy.cshtml

37 lines
2.0 KiB
Plaintext
Raw Normal View History

2023-05-19 22:23:50 +04:00
@using BankYouBankruptContracts.ViewModels.Client.Default
@model ClientViewModel
@{
ViewData["Title"] = "Личный кабинет";
}
<div class="text-center">
<h2 class="display-4">Личные данные</h2>
</div>
2023-05-19 23:31:02 +04:00
<form method="post" class="form-signin">
2023-05-19 22:23:50 +04:00
<div class="row">
<div class="col-4">Логин:</div>
2023-05-19 23:31:02 +04:00
<input type="email" id="login" name="login" class="form-control" placeholder="Почта" value=@Html.DisplayFor(modelItem => Model.Email) required>
2023-05-19 22:23:50 +04:00
</div>
<div class="row">
<div class="col-4">Пароль:</div>
2023-05-19 23:31:02 +04:00
<input type="password" id="password" name="password" class="form-control" placeholder="Пароль" value=@Html.DisplayFor(modelItem => Model.Password) required>
2023-05-19 22:23:50 +04:00
</div>
<div class="row">
<div class="col-4">Имя:</div>
2023-05-19 23:31:02 +04:00
<input type="text" id="name" name="name" class="form-control" placeholder="Имя" value=@Html.DisplayFor(modelItem => Model.Name) required>
2023-05-19 22:23:50 +04:00
<div class="col-4">Фамилия:</div>
2023-05-19 23:31:02 +04:00
<input type="text" id="surname" name="surname" class="form-control" placeholder="Фамилия" value=@Html.DisplayFor(modelItem => Model.Surname) required>
2023-05-19 22:23:50 +04:00
<div class="col-4">Отчество:</div>
2023-05-19 23:31:02 +04:00
<input type="text" id="patronymic" name="patronymic" class="form-control" placeholder="Отчество" value=@Html.DisplayFor(modelItem => Model.Patronymic) required>
2023-05-19 22:23:50 +04:00
</div>
2023-05-19 23:31:02 +04:00
<div class="row mb-2">
2023-05-19 22:23:50 +04:00
<div class="col-4">Телефон:</div>
2023-05-19 23:31:02 +04:00
<input type="text" id="telephone" name="telephone" class="form-control" placeholder="Телефон" value=@Html.DisplayFor(modelItem => Model.Telephone) required>
2023-05-19 22:23:50 +04:00
</div>
2023-05-19 23:31:02 +04:00
<div class="row mb-2">
<button class="btn btn-lg btn-warning btn-block mb-2" type="submit" asp-controller="Home" asp-action="Privacy">Coхранить</button>
<button class="btn btn-lg btn-warning btn-block" type="submit" asp-controller="Home" asp-action="Logout">Выйти из аккаунта</button>
2023-05-19 22:23:50 +04:00
</div>
</form>