2023-05-18 23:42:48 +04:00
|
|
|
@using CaseAccountingContracts.ViewModels
|
|
|
|
|
|
|
|
@{
|
|
|
|
ViewData["Title"] = "Юрист";
|
|
|
|
}
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
|
|
|
<h4 class="fw-bold" id="vb-id" data-id="@ViewBag.Lawyer.Id">Изменение данных юриста</h4>
|
|
|
|
|
|
|
|
if (ViewBag.Lawyer == null)
|
|
|
|
{
|
|
|
|
<h3 class="display-4">Войдите в аккаунт</h3>
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
<div id="error-div-shell" class="error-div-shell mb-2">
|
|
|
|
<div>
|
|
|
|
<p id="error-p" class="error-p"></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p class="mb-0">Имя:</p>
|
|
|
|
<input value="@ViewBag.Lawyer.Name" type="text" id="name-input" name="name" class="form-control mb-3" />
|
|
|
|
<p class="mb-0">Фамилия:</p>
|
|
|
|
<input value="@ViewBag.Lawyer.Surname" type="text" id="surname-input" name="surname" class="form-control mb-3" />
|
|
|
|
<p class="mb-0">Отчество:</p>
|
|
|
|
<input value="@ViewBag.Lawyer.Patronymic" type="text" id="patronymic-input" name="patronymic" class="form-control mb-3" />
|
|
|
|
<p class="mb-0">Опыт работы:</p>
|
|
|
|
<input value="@ViewBag.Lawyer.Experience" type="number" id="experience-input" name="experience" class="form-control mb-3" />
|
|
|
|
|
|
|
|
<button id="update-button" type="button" class="button-primary text-button">
|
|
|
|
Сохранить изменения
|
|
|
|
</button>
|
|
|
|
}
|
|
|
|
|
2023-05-19 14:53:49 +04:00
|
|
|
<script src="~/js/Lawyers/lawyer-update.js" asp-append-version="true"></script>
|