src/pyams_content/shared/common/zmi/workflow.py
changeset 966 a3d8d83fb6f0
parent 956 a8723fffbaf6
child 1049 6d6279200826
equal deleted inserted replaced
965:ba8e4e41aa59 966:a3d8d83fb6f0
   713 class SharedContentDeleteForm(WorkflowContentTransitionForm):
   713 class SharedContentDeleteForm(WorkflowContentTransitionForm):
   714     """Shared content delete form"""
   714     """Shared content delete form"""
   715 
   715 
   716     buttons = button.Buttons(ISharedContentDeleteButtons)
   716     buttons = button.Buttons(ISharedContentDeleteButtons)
   717 
   717 
       
   718     __target = None
       
   719 
   718     @property
   720     @property
   719     def fields(self):
   721     def fields(self):
   720         fields = super(SharedContentDeleteForm, self).fields
   722         fields = super(SharedContentDeleteForm, self).fields
   721         state = IWorkflowState(self.context)
   723         state = IWorkflowState(self.context)
   722         if state.version_id == 1:  # content deletion
   724         if state.version_id == 1:  # content deletion