@using DR.FV2016.Web.Models.Candidate.Configs @model DR.FV2016.Web.Models.Candidate.CandidateArticleList @if (Model.Items.Any()) { var combineLayoutItems = Model.Items.Select(a => Html.ToCandidateCombine(a, 6, new CandidateItemViewConf() { HeadingSize = 1, ImageRatio = "1-1", ImageSpan = 1, PartyLetterSize = PartyLetterSize.Small, ShowPartyName = true, Boxed = true, Id = "IsPersonalVotesAvailable", CallToActionLinks = new List { new DR.Web.UI.Model.Link { Url = a.CandidatePageUrl, LinkText = "Se profil" } } })); var spots = Html.CombineLayout(CombineLayoutStyle.Ol, new CombineLayoutSection() { Items = combineLayoutItems, SpanWidth = 6 }); @Html.Row( //Html.Column(2, new HtmlString(string.Empty)), Html.Column(6, Html.Section( new SectionViewConf() { Headline = "Kandidater", SubHeadline = "nævnt i artiklen", ClassName = "candidate-list" }, spots ) ) ) }