Skip to content

Commit 001f372

Browse files
authored
Merge pull request #385 from aspnet/release/2.1
Use partial tag helper (#375)
2 parents edaf72c + f786df9 commit 001f372

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<li><a asp-page="/Contact">Contact</a></li>
3636
</ul>
3737
@*#if (IndividualAuth || OrganizationalAuth)
38-
@await Html.PartialAsync("_LoginPartial")
38+
<partial name="_LoginPartial" />
3939
#elseif (WindowsAuth)
4040
<p class="nav navbar-text navbar-right">Hello, @User.Identity.Name!</p>
4141
#endif*@

src/Microsoft.DotNet.Web.ProjectTemplates/content/StarterWeb-CSharp/Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<li><a asp-area="" asp-controller="Home" asp-action="Contact">Contact</a></li>
3636
</ul>
3737
@*#if (IndividualAuth || OrganizationalAuth)
38-
@await Html.PartialAsync("_LoginPartial")
38+
<partial name="_LoginPartial" />
3939
#elseif (WindowsAuth)
4040
<p class="nav navbar-text navbar-right">Hello, @User.Identity.Name!</p>
4141
#endif*@

0 commit comments

Comments
 (0)