@Html.ActionLink(T("Content Types").Text, "index")@T(" > ")@Html.ActionLink(T("Content Parts").Text, "listparts")@T(" > ")@T("Edit Part")
@@ -6,19 +7,30 @@
@Html.ValidationSummary()
- @DisplayChildren(Model.Templates)
+ @{ Html.RenderTemplates(Model.Templates); }
@T("Fields")
@Html.ActionLink(T("Add").Text, "AddFieldTo", new { area = "Orchard.ContentTypes", id = Model.Name }, new { @class = "button" })
- @DisplayChildren(Model.Fields)
+ @Html.EditorFor(m => m.Fields, "Fields", "")