Added marker interface on properties edit form
authorThierry Florac <thierry.florac@onf.fr>
Mon, 05 Feb 2018 16:57:47 +0100
changeset 350 05668b699887
parent 349 e2d871b30236
child 351 ce073b17b943
Added marker interface on properties edit form
src/pyams_content/shared/common/zmi/properties.py
--- a/src/pyams_content/shared/common/zmi/properties.py	Wed Jan 31 17:18:51 2018 +0100
+++ b/src/pyams_content/shared/common/zmi/properties.py	Mon Feb 05 16:57:47 2018 +0100
@@ -22,6 +22,7 @@
 from pyams_skin.interfaces import IInnerPage, IPageHeader
 from pyams_skin.layer import IPyAMSLayer
 from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+from pyams_zmi.interfaces import IPropertiesEditForm
 from pyams_zmi.interfaces.menu import IContentManagementMenu, IPropertiesMenu
 from pyams_zmi.layer import IAdminLayer
 
@@ -70,7 +71,7 @@
 
 @pagelet_config(name='properties.html', context=IWfSharedContent, layer=IPyAMSLayer,
                 permission=MANAGE_CONTENT_PERMISSION)
-@implementer(IWidgetForm, IInnerPage)
+@implementer(IPropertiesEditForm, IWidgetForm, IInnerPage)
 class SharedContentPropertiesEditForm(AdminEditForm):
     """Shared content properties edit form"""