From a5abf7dc0bbebb4bd766b8b5f9f2b52c2caf6db4 Mon Sep 17 00:00:00 2001 From: Dylan Munyard Date: Sun, 29 Oct 2017 22:39:36 +1000 Subject: [PATCH] Using Rider 2017.2 as the IDE detects and unclosed tag and the unnecessary Razor syntax. --- src/Web/WebMVC/Views/Order/Index.cshtml | 2 +- src/Web/WebMVC/Views/Shared/_Layout.cshtml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Web/WebMVC/Views/Order/Index.cshtml b/src/Web/WebMVC/Views/Order/Index.cshtml index 312e81162..dcb1f2a08 100644 --- a/src/Web/WebMVC/Views/Order/Index.cshtml +++ b/src/Web/WebMVC/Views/Order/Index.cshtml @@ -22,7 +22,7 @@ @if (Model != null && Model.Any()) { - @foreach (var item in Model) + foreach (var item in Model) {
@Html.DisplayFor(modelItem => item.OrderNumber)
diff --git a/src/Web/WebMVC/Views/Shared/_Layout.cshtml b/src/Web/WebMVC/Views/Shared/_Layout.cshtml index 704d37742..ee01b5b65 100644 --- a/src/Web/WebMVC/Views/Shared/_Layout.cshtml +++ b/src/Web/WebMVC/Views/Shared/_Layout.cshtml @@ -39,6 +39,7 @@
+ @await Html.PartialAsync("_LoginPartial")