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:
parent
84dbd5a354
commit
d7cdcbb9a2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue