--- a/src/pyams_form/viewlet.py Thu Oct 08 09:17:34 2015 +0200
+++ b/src/pyams_form/viewlet.py Thu Oct 08 09:17:56 2015 +0200
@@ -17,7 +17,7 @@
# import interfaces
from pyams_form.interfaces.form import IFormViewletsManager, IFormPrefixViewletsManager, IWidgetsPrefixViewletsManager, \
- IWidgetsSuffixViewletsManager, IFormSuffixViewletsManager, IFormLayer
+ IWidgetsSuffixViewletsManager, IFormSuffixViewletsManager, IFormLayer, IFormHeaderViewletsManager
# import packages
from pyams_viewlet.manager import WeightOrderedViewletManager, viewletmanager_config
@@ -29,6 +29,12 @@
"""Base form viewlet manager"""
+@viewletmanager_config(name='form_header', layer=IFormLayer)
+@implementer(IFormHeaderViewletsManager)
+class FormHeaderViewletManager(FormViewletManager):
+ """Form header viewlet manager, display in modal's form dialog header"""
+
+
@viewletmanager_config(name='form_prefix', layer=IFormLayer)
@implementer(IFormPrefixViewletsManager)
class FormPrefixViewletManager(FormViewletManager):