@model IEnumerable<FotbalPortal.Models.Comment>


@foreach (var item in Model) {
<div class="comment">
    <div class="meta">
        <span class="author">@Html.Action("userName", "Account", new { userId = item.author})</span>
        <span class="created"> - @Html.DisplayFor(modelItem => item.created)</span>
    </div>
    <div class="text">
        @Html.DisplayFor(modelItem => item.text)
    </div>
</div>
            
}

