mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fix for Issue 19586
--HG-- branch : 1.x extra : source : 5221d8a6740a969ac8c01a3983419067da2659ff
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
@@ -1,8 +1,6 @@
|
||||
@using Orchard.ContentManagement;
|
||||
|
||||
@{
|
||||
ContentItem customForm = Model.ContentItem;
|
||||
|
||||
// remove default Save/Publish buttons
|
||||
Model.Editor.Zones["Sidebar"].Items.Clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user