diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index 3794871..8ef5dce 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -26,7 +26,7 @@ @if (enableAuth) { } diff --git a/Views/Login/Index.cshtml b/Views/Login/Index.cshtml index 4df9a74..6652059 100644 --- a/Views/Login/Index.cshtml +++ b/Views/Login/Index.cshtml @@ -14,14 +14,14 @@
- +
- +
diff --git a/Views/Vehicle/_GasModal.cshtml b/Views/Vehicle/_GasModal.cshtml index 6904c00..297a119 100644 --- a/Views/Vehicle/_GasModal.cshtml +++ b/Views/Vehicle/_GasModal.cshtml @@ -1,10 +1,11 @@ @inject IConfiguration Configuration +@model GasRecordInput @{ var useMPG = bool.Parse(Configuration[nameof(UserConfig.UseMPG)]); + var isNew = Model.Id == 0; } -@model GasRecordInput
@if (Model.Files.Any()) @@ -52,16 +53,16 @@