@{
	ViewData["Title"] = "Дело";
}

@{

    <h4 class="fw-bold" id="vb-id" data-id="@ViewBag.Case.Id">Изменение дела</h4>

    if (ViewBag.Case == 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 type="text" id="name-input" name="name" class="form-control mb-3" />
    <p class="mb-0">Истец:</p>
    <input type="text" id="applicant-input" name="applicant" class="form-control mb-3" />
    <p class="mb-0">Ответчик:</p>
    <input type="text" id="defendant-input" name="defendant" class="form-control mb-3" />
    <p class="mb-0">Дата составления:</p>
    <input type="date" id="date-input" name="date" class="form-control mb-3" />
    <p class="mb-0">Примечание:</p>
    <input type="text" id="annotation-input" name="annotation" class="form-control mb-3" />
    <p class="mb-0">Специализация:</p>
    <select id="specialization-select" name="specialization" class="form-control mb-3">
    </select>

    <button id="update-button" type="button" class="btn btn-primary text-button">
        Обновить
    </button>

}

<script src="~/js/case/case-update.js" asp-append-version="true"></script>

