From c0c1743d7813f0ac0a7632b5d01327ad8ae46b1a Mon Sep 17 00:00:00 2001 From: James Chapman Date: Mon, 24 Jul 2023 12:04:26 +0100 Subject: [PATCH] Update New/Edit Transaction Item pages to match modals --- .../Transactions/EditTransactionItem.cshtml | 20 ++++++++++++------- .../Transactions/NewTransactionItem.cshtml | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Groceries/Transactions/EditTransactionItem.cshtml b/Groceries/Transactions/EditTransactionItem.cshtml index 0fcf521..796c941 100644 --- a/Groceries/Transactions/EditTransactionItem.cshtml +++ b/Groceries/Transactions/EditTransactionItem.cshtml @@ -14,13 +14,19 @@

Edit Transaction Item

-
@Model.Transaction.CreatedAt.ToShortDateString() @Model.Transaction.CreatedAt.ToShortTimeString() – @store
+
+ @Model.Transaction.CreatedAt.ToShortDateString() @Model.Transaction.CreatedAt.ToShortTimeString() – @store +
-
+ - -
- - Cancel -
+ +
+ +
+ + Cancel + + +
diff --git a/Groceries/Transactions/NewTransactionItem.cshtml b/Groceries/Transactions/NewTransactionItem.cshtml index 8c69512..10c109b 100644 --- a/Groceries/Transactions/NewTransactionItem.cshtml +++ b/Groceries/Transactions/NewTransactionItem.cshtml @@ -14,7 +14,7 @@

New Transaction Item

-
@Model.CreatedAt.ToShortDateString() @Model.CreatedAt.ToShortTimeString() – @store
+
@Model.CreatedAt.ToShortDateString() @Model.CreatedAt.ToShortTimeString() – @store