Using Rider 2017.2 as the IDE detects and unclosed <a> tag and the unnecessary Razor syntax.

This commit is contained in:
Dylan Munyard 2017-10-29 22:39:36 +10:00
parent 338d911621
commit a5abf7dc0b
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
</article> </article>
@if (Model != null && Model.Any()) @if (Model != null && Model.Any())
{ {
@foreach (var item in Model) foreach (var item in Model)
{ {
<article class="esh-orders-items row"> <article class="esh-orders-items row">
<section class="esh-orders-item col-xs-2">@Html.DisplayFor(modelItem => item.OrderNumber)</section> <section class="esh-orders-item col-xs-2">@Html.DisplayFor(modelItem => item.OrderNumber)</section>

View File

@ -39,6 +39,7 @@
<a asp-area="" asp-controller="Catalog" asp-action="Index"> <a asp-area="" asp-controller="Catalog" asp-action="Index">
<img src="~/images/brand.png" /> <img src="~/images/brand.png" />
</a> </a>
</a>
</section> </section>
@await Html.PartialAsync("_LoginPartial") @await Html.PartialAsync("_LoginPartial")