equal
deleted
inserted
replaced
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 |