Case_accounting/CaseAccounting/CaseAccountingCustomerView/Views/Specializations/Update.cshtml

30 lines
933 B
Plaintext
Raw Normal View History

@using CaseAccountingContracts.ViewModels
@{
ViewData["Title"] = "Специализация";
}
@{
<h4 class="fw-bold" id="vb-id" data-id="@ViewBag.Specialization.Id">Изменение данных специализации</h4>
if (ViewBag.EducationStatus == 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.Specialization.Name" type="text" id="name-input" name="name" class="form-control mb-3" />
<button id="update-button" type="button" class="button-primary text-button">
Сохранить изменения
</button>
}
<script src="~/js/Specializations/specialization-update.js" asp-append-version="true"></script>