mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 12:29:04 +08:00
Updating comments w/ content shape alternate examples and a little addtl. cleanup
--HG-- branch : dev
This commit is contained in:
@@ -12,7 +12,6 @@ using Orchard.Settings;
|
||||
using Orchard.UI;
|
||||
using Orchard.UI.Resources;
|
||||
using Orchard.UI.Zones;
|
||||
using Orchard.Utility.Extensions;
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
@@ -75,9 +74,10 @@ namespace Orchard.Core.Shapes {
|
||||
// 'List' shapes start with several empty collections
|
||||
builder.Describe("List")
|
||||
.OnCreated(created => {
|
||||
created.Shape.Tag = "ul";
|
||||
created.Shape.ItemClasses = new List<string>();
|
||||
created.Shape.ItemAttributes = new Dictionary<string, string>();
|
||||
var list = created.Shape;
|
||||
list.Tag = "ul";
|
||||
list.ItemClasses = new List<string>();
|
||||
list.ItemAttributes = new Dictionary<string, string>();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user