From 999649a095286fec898d47354216c7cb6a1ef9d6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GENO133\\IvanPlex" Date: Fri, 5 Jan 2024 09:07:28 -0700 Subject: [PATCH] Usability enhancements: placeholders in vehicle and service record modals --- Views/Vehicle/_ServiceRecordModal.cshtml | 19 +++++++++++-------- Views/Vehicle/_VehicleModal.cshtml | 15 ++++++++------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/Views/Vehicle/_ServiceRecordModal.cshtml b/Views/Vehicle/_ServiceRecordModal.cshtml index c40c1bd..e95174f 100644 --- a/Views/Vehicle/_ServiceRecordModal.cshtml +++ b/Views/Vehicle/_ServiceRecordModal.cshtml @@ -1,6 +1,9 @@ @model ServiceRecordInput +@{ + var isNew = Model.Id == 0; +}
@@ -50,16 +53,16 @@