17 lines
611 B
Plaintext
17 lines
611 B
Plaintext
@using Groceries.Data
|
|
|
|
@model Transaction
|
|
@{
|
|
Layout = "_Modal";
|
|
ViewBag.Title = "New Transaction Promotion";
|
|
}
|
|
|
|
<form class="card__content" id="newTransactionPromotion" method="post" asp-action="NewTransactionPromotion" data-action="turbo:submit-end->modal#close">
|
|
<partial name="_TransactionPromotionForm" model="(Model, (TransactionPromotion?)null)" />
|
|
</form>
|
|
|
|
<footer class="card__footer card__footer--shaded row">
|
|
<button class="button button--primary" type="submit" form="newTransactionPromotion">Add</button>
|
|
<button class="button" data-action="modal#close">Cancel</button>
|
|
</footer>
|