CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptCashierApp/Views/Home/Create.cshtml

39 lines
1.0 KiB
Plaintext

@{
ViewData["Title"] = "Create";
}
<div class="text-center">
<h2 class="display-4">Открытие счёта</h2>
</div>
<form method="post">
<div class="row">
<div class="col-4">Клиент:</div>
<div class="col-8">
<select id="client" name="clientId" class="form-control" asp-items="@(new SelectList( @ViewBag.Clients, "Id", "Surname"))"></select>
</div>
</div>
<div class="row">
<div class="col-4">Номер счёта:</div>
<div class="col-8">
<input type="text" id="accountNumber" name="accountNumber" />
</div>
</div>
<div class="row">
<div class="col-4">Пароль:</div>
<div class="col-8">
<input type="text" id="password" name="password" />
</div>
</div>
<div class="row">
<div class="col-4">Баланс:</div>
<div class="col-8">
<input type="text" id="balance" name="balance" />
</div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Создать" class="btn btn-primary" />
</div>
</div>
</form>