src/pyams_media/zmi/__init__.py
changeset 27 65fa094c96c4
parent 19 179f9381965b
child 65 d38220c1116e
--- a/src/pyams_media/zmi/__init__.py	Fri Dec 04 16:37:29 2015 +0100
+++ b/src/pyams_media/zmi/__init__.py	Mon Jan 18 18:03:59 2016 +0100
@@ -23,7 +23,7 @@
 from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION, MANAGE_SYSTEM_PERMISSION
 
 # import packages
-from pyams_form.form import AJAXEditForm, AJAXAddForm, InnerEditForm
+from pyams_form.form import AJAXEditForm, AJAXAddForm
 from pyams_form.schema import CloseButton
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_skin.viewlet.toolbar import ToolbarMenuItem
@@ -32,7 +32,7 @@
 from pyams_utils.text import text_to_html
 from pyams_viewlet.viewlet import viewlet_config, Viewlet
 from pyams_zmi.control_panel import UtilitiesTable
-from pyams_zmi.form import AdminDialogEditForm, AdminDialogAddForm
+from pyams_zmi.form import AdminDialogEditForm, AdminDialogAddForm, InnerAdminEditForm
 from pyams_zmi.layer import IAdminLayer
 from pyramid.view import view_config
 from z3c.form import field, button
@@ -63,7 +63,7 @@
 @adapter_config(name='video-properties',
                 context=(IMediaConversionUtility, IAdminLayer, MediaConversionUtilityPropertiesEditForm),
                 provides=IInnerTabForm)
-class MediaVideoConversionPropertiesEditForm(InnerEditForm):
+class MediaVideoConversionPropertiesEditForm(InnerAdminEditForm):
     """Video conversion utility properties edit form"""
 
     id = 'video_properties'
@@ -81,7 +81,7 @@
 @adapter_config(name='audio-properties',
                 context=(IMediaConversionUtility, IAdminLayer, MediaConversionUtilityPropertiesEditForm),
                 provides=IInnerTabForm)
-class MediaAudioConversionPropertiesEditForm(InnerEditForm):
+class MediaAudioConversionPropertiesEditForm(InnerAdminEditForm):
     """Audio conversion utility properties edit form"""
 
     id = 'audio_properties'