Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Partial view containing card tag helper HTML
@model TagHelpersDemo.Views.Shared.Partials.CardViewModel
<img src="images/@(Model.PlayerName).png" alt="avatar" class="center-block" />
<div class="text-center">
<h2 class="@Model.SuitColorClass">
<strong>@Html.Raw(Model.SuitCharacterCode)</strong>
</h2>
<p>@Model.Rank</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.