Browse Source

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

pull/392/head
Dylan Munyard 7 years ago
parent
commit
a5abf7dc0b
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      src/Web/WebMVC/Views/Order/Index.cshtml
  2. +1
    -0
      src/Web/WebMVC/Views/Shared/_Layout.cshtml

+ 1
- 1
src/Web/WebMVC/Views/Order/Index.cshtml View File

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


+ 1
- 0
src/Web/WebMVC/Views/Shared/_Layout.cshtml View File

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


Loading…
Cancel
Save