@model OrchardCore.Lists.ViewModels.ListPartViewModel @inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager
@foreach (var step in Model.ContentItems) { var stepContent = await ContentItemDisplayManager.BuildDisplayAsync( step, Model.Context.Updater, Model.Context.DisplayType, Model.Context.GroupId); @await DisplayAsync(stepContent) }