Add anchor tag helper
This commit is contained in:
parent
29478524c7
commit
189a5fa701
@ -1,4 +1,6 @@
|
||||
@model IQueryable<MyDarling.Models.UnderwearBundle>;
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
|
||||
@{
|
||||
Layout = "_Layout";
|
||||
}
|
||||
@ -58,7 +60,7 @@
|
||||
{
|
||||
<div class="col mb-5">
|
||||
<div class="card h-100">
|
||||
<a href="/bundle/show/@bundle.Id"><img class="card-img-top"
|
||||
<a asp-controller="Bundle" asp-action="Show" asp-route-id="@bundle.Id"><img class="card-img-top"
|
||||
src="@bundle.Figures.FirstOrDefault()?.FilePath" alt="..." /></a>
|
||||
<div class="card-body p-4">
|
||||
<div class="text-center">
|
||||
|
Loading…
Reference in New Issue
Block a user