Added marker interface on properties edit form
authorThierry Florac <thierry.florac@onf.fr>
Tue, 06 Feb 2018 11:39:00 +0100
changeset 358 d959b670cbe1
parent 357 d080c8f7c7da
child 359 b21d74ececb1
Added marker interface on properties edit form
src/pyams_content/shared/common/zmi/manager.py
--- a/src/pyams_content/shared/common/zmi/manager.py	Tue Feb 06 11:38:32 2018 +0100
+++ b/src/pyams_content/shared/common/zmi/manager.py	Tue Feb 06 11:39:00 2018 +0100
@@ -23,6 +23,7 @@
 from pyams_skin.interfaces import IInnerPage, IPageHeader, IContentTitle
 from pyams_skin.interfaces.viewlet import IMenuHeader, IBreadcrumbItem
 from pyams_skin.layer import IPyAMSLayer
+from pyams_zmi.interfaces import IPropertiesEditForm
 from pyams_zmi.interfaces.menu import IPropertiesMenu, ISiteManagementMenu
 from pyams_zmi.layer import IAdminLayer
 
@@ -92,7 +93,7 @@
 
 
 @pagelet_config(name='properties.html', context=IBaseSharedTool, layer=IPyAMSLayer, permission=MANAGE_TOOL_PERMISSION)
-@implementer(IWidgetForm, IInnerPage)
+@implementer(IWidgetForm, IInnerPage, IPropertiesEditForm)
 class SharedToolPropertiesEditForm(AdminEditForm):
     """Shared tool properties edit form"""