@model MVCUI.Models.TournamentMVCDetailsModel @{ ViewBag.Title = "Details"; }

Tournament: @Html.DisplayFor(model => model.TournamentName)


@Html.DisplayNameFor(model => model.Rounds)

    @foreach (var item in Model.Rounds) {
  • @Html.ActionLink(item.RoundName, "Details", "Tournaments", new { roundId = item.RoundNumber }, new { })   @if (item.Status == RoundStatus.Complete) { completed } else if (item.Status == RoundStatus.Active) { active } else if (item.Status == RoundStatus.Locked) { locked }
  • }
@foreach (var item in Model.Matchups) {
@Html.Partial("_EditMatchup", item)
}

@Html.ActionLink("Back to List", "Index")