From f786df9dc946f2d6e0362c2c9fc72579014d83d9 Mon Sep 17 00:00:00 2001 From: Jass Bagga Date: Tue, 20 Mar 2018 10:36:08 -0700 Subject: [PATCH] Use partial tag helper (#375) Addresses #338 --- .../content/RazorPagesWeb-CSharp/Pages/_Layout.cshtml | 2 +- .../content/StarterWeb-CSharp/Views/Shared/_Layout.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/_Layout.cshtml b/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/_Layout.cshtml index 1e47a192e4..cfe3b4430b 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/_Layout.cshtml +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/_Layout.cshtml @@ -35,7 +35,7 @@
  • Contact
  • @*#if (IndividualAuth || OrganizationalAuth) - @await Html.PartialAsync("_LoginPartial") + #elseif (WindowsAuth) #endif*@ diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Shared/_Layout.cshtml b/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Shared/_Layout.cshtml index 4cb58237a0..b8ce3c108d 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Shared/_Layout.cshtml +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Shared/_Layout.cshtml @@ -35,7 +35,7 @@
  • Contact
  • @*#if (IndividualAuth || OrganizationalAuth) - @await Html.PartialAsync("_LoginPartial") + #elseif (WindowsAuth) #endif*@