diff -r c02d355d3ffd -r b4b587dd45ca src/ztfy/utils/browser/zodb.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ztfy/utils/browser/zodb.py Thu Sep 20 17:06:22 2012 +0200 @@ -0,0 +1,39 @@ +### -*- coding: utf-8 -*- #################################################### +############################################################################## +# +# Copyright (c) 2012 Thierry Florac +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## + + +# import standard packages + +# import Zope3 interfaces + +# import local interfaces +from ztfy.skin.interfaces import IPropertiesMenuTarget +from ztfy.utils.interfaces import IZEOConnection + +# import Zope3 packages +from z3c.form import field +from zope.interface import implements + +# import local packages +from ztfy.skin.form import EditForm + + +class ZEOConnectionEditForm(EditForm): + """Sequential ID utility edit form""" + + implements(IPropertiesMenuTarget) + + fields = field.Fields(IZEOConnection) + autocomplete = 'off'