@model List @if (Model != null && Model.Count > 0) { @foreach (IsolationModel isolation in Model) { }
@Html.Label(new IsolationModel().GetDisplayName(i => i.Confirmed)) @Html.Label(new IsolationModel().GetDisplayName(i => i.ProductionType)) @Html.Label(new IsolationModel().GetDisplayName(i => i.CropType)) @Html.Label(new IsolationModel().GetDisplayName(i => i.FieldSize)) @Html.Label(new IsolationModel().GetDisplayName(i => i.Trait)) @Html.Label(new IsolationModel().GetDisplayName(c => c.Distance))
@Html.CheckBoxFor(m => isolation.Confirmed, new { @disabled = "disabled" }) @isolation.ProductionType @isolation.CropType @isolation.FieldSize @isolation.Trait @isolation.Distance
} else { @Html.Label("None") }