CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptClientApp/Views/Home/CreateCard.cshtml
2023-05-19 23:31:02 +04:00

36 lines
1.0 KiB
Plaintext

@{
ViewData["Title"] = "Создание карты";
}
<div class="text-center">
<h2 class="display-4">Создание карты</h2>
</div>
<form method="post">
<div class="row mb-2">
<div class="col-4">Номер счета:</div>
<div class="col-8">
<select id="accountId" name="accountId" class="form-control" asp-items="@(new SelectList( @ViewBag.Accounts, "Id", "AccountNumber"))"></select>
</div>
</div>
<div class="row mb-2">
<div class="col-4">Номер карты:</div>
<div class="col-8">
<input type="text" class="form-control" name="number" />
</div>
</div>
<div class="row mb-2">
<div class="col-4">CVC:</div>
<div class="col-8">
<input type="text" class="form-control" name="cvc" />
</div>
</div>
<div class="row mb-2">
<div class="col-4">Срок действия:</div>
<div class="col-8">
<input type="date" class="form-control" name="period" />
</div>
</div>
<div class="row mb-2">
<input type="submit" value="Создание" style="width: 100%" class="btn btn-warning" />
</div>
</form>