--- a/src/pyams_content/component/paragraph/zmi/contact.py Thu May 24 10:51:45 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/contact.py Fri May 25 08:03:41 2018 +0200
@@ -17,7 +17,7 @@
# import interfaces
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
- IBaseParagraph, IParagraphRenderer
+ IBaseParagraph
from pyams_content.component.paragraph.interfaces.contact import CONTACT_PARAGRAPH_TYPE, IContactParagraph
from pyams_content.component.paragraph.zmi.interfaces import IParagraphContainerView, IParagraphInnerEditor
from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION
@@ -32,7 +32,6 @@
from pyams_content.component.paragraph.zmi import BaseParagraphAddMenu, BaseParagraphAJAXAddForm, \
BaseParagraphPropertiesEditForm, BaseParagraphAJAXEditForm, get_json_paragraph_refresh_event, \
IParagraphEditFormButtons
-from pyams_content.features.renderer.zmi import BaseRenderedContentRenderer
from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
from pyams_pagelet.pagelet import pagelet_config
from pyams_skin.event import get_json_form_refresh_event
@@ -150,12 +149,3 @@
output.setdefault('events', []).append(get_json_form_refresh_event(self.context, self.request,
ContactParagraphInnerEditForm))
return output
-
-
-#
-# Contact paragraph renderer
-#
-
-@adapter_config(context=(IContactParagraph, IPyAMSLayer), provides=IParagraphRenderer)
-class ContactParagraphRenderer(BaseRenderedContentRenderer):
- """Contact paragraph renderer"""