refining create and edit actions/dialogs for concepts

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2211 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-12-03 19:29:09 +00:00
parent 84dbd5a354
commit d7cdcbb9a2

View file

@ -189,6 +189,10 @@ class EditConceptForm(EditObjectForm):
title = _(u'Edit Concept')
form_action = 'edit_concept'
@Lazy
def dialog_name(self):
return self.request.get('dialog', 'editConcept')
@Lazy
def typeInterface(self):
return IType(self.target).typeInterface or IConceptSchema