CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptClientApp/Views/Home/CreateCard.cshtml

36 lines
1.0 KiB
Plaintext
Raw Normal View History

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