Remove editor completely when adding a fieldset to the layout editor.

This commit is contained in:
Bertrand Le Roy
2015-06-09 13:48:58 -07:00
parent 7a1983b47f
commit ef3ca907c7

View File

@@ -7,6 +7,10 @@ namespace Orchard.DynamicForms.Elements {
get { return "Forms"; }
}
public override bool HasEditor {
get { return false; }
}
public string Legend {
get { return this.Retrieve(f => f.Legend); }
set { this.Store(f => f.Legend, value); }