--- a/src/pyams_default_theme/component/paragraph/__init__.py Wed Jun 13 14:50:33 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/__init__.py Wed Jun 13 15:33:19 2018 +0200
@@ -22,7 +22,7 @@
from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
# import packages
-from pyams_default_theme.page import BaseIndexPage
+from pyams_default_theme.page import BasePreviewPage
from pyams_pagelet.pagelet import pagelet_config
from zope.interface import implementer
@@ -30,7 +30,7 @@
@pagelet_config(name='preview.html', context=IBaseParagraph, layer=IPyAMSDefaultLayer,
permission=VIEW_SYSTEM_PERMISSION)
@implementer(IPreviewView)
-class ParagraphPreviewPage(BaseIndexPage):
+class ParagraphPreviewPage(BasePreviewPage):
"""Paragraph preview page"""
def __init__(self, context, request):