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

39 lines
1000 B
Plaintext
Raw Normal View History

2023-05-17 01:00:04 +04:00
@{
ViewData["Title"] = "Register";
}
<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">
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>
<div class="row">
<div class="col-4">Номер карты:</div>
<div class="col-8">
<input type="text" name="number" />
</div>
</div>
<div class="row">
<div class="col-4">CVC:</div>
<div class="col-8">
<input type="text" name="cvc" />
</div>
</div>
<div class="row">
<div class="col-4">Срок действия:</div>
<div class="col-8">
<input type="date" name="period" />
</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>