Sharpening up everything!
This commit is contained in:
15
src/OAP/Oap.Theme/Views/OapApplicationForm-ListPart.cshtml
Normal file
15
src/OAP/Oap.Theme/Views/OapApplicationForm-ListPart.cshtml
Normal file
@@ -0,0 +1,15 @@
|
||||
@model OrchardCore.Lists.ViewModels.ListPartViewModel
|
||||
@inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager
|
||||
|
||||
<div class="flex flex-col gap-x-4">
|
||||
@foreach (var step in Model.ContentItems)
|
||||
{
|
||||
var stepContent = await ContentItemDisplayManager.BuildDisplayAsync(
|
||||
step,
|
||||
Model.Context.Updater,
|
||||
Model.Context.DisplayType,
|
||||
Model.Context.GroupId);
|
||||
|
||||
@await DisplayAsync(stepContent)
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user