mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 09:22:55 +08:00
#17362: Container widget produces <ul> without identifier of a rendered list
--HG-- branch : 1.x
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
@Display(Model.ContentItems)
|
||||
@{
|
||||
IEnumerable<object> items = Model.ContentItems;
|
||||
Model.ContentItems.Classes.Add("content-items");
|
||||
Model.ContentItems.Classes.Add("list-items");
|
||||
}
|
||||
@Display(items)
|
||||
@if (Model.ShowPager) {
|
||||
@Display(Model.Pager)
|
||||
}
|
||||
Reference in New Issue
Block a user