Fix for Issue 19586

--HG--
branch : 1.x
extra : source : 5221d8a6740a969ac8c01a3983419067da2659ff
This commit is contained in:
Michael Yates@MichaelNotebook
2013-04-08 10:11:06 +10:00
parent 4e8176d89c
commit 014fd5299c
2 changed files with 1 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ namespace Orchard.CustomForms.Drivers {
return ContentShape("Parts_CustomForm_Wrapper", () => {
return shapeHelper.Parts_CustomForm_Wrapper()
.Editor(_orchardServices.ContentManager.BuildEditor(contentItem))
.ContenItem(part);
.ContentItem(part);
});
}

View File

@@ -1,8 +1,6 @@
@using Orchard.ContentManagement;
@{
ContentItem customForm = Model.ContentItem;
// remove default Save/Publish buttons
Model.Editor.Zones["Sidebar"].Items.Clear();
}