

def __init__(self, user, *args, **kwargs):
    if ('instance' in kwargs):
        self.instance = kwargs['instance']
        del kwargs['instance']
    super(MassActionForm, self).__init__(*args, **kwargs)
    self.fields['delete'] = forms.ChoiceField(label=_('With selected'), choices=(('', '-----'), ('delete', _('Delete Completely')), ('trash', _('Move to Trash'))), required=False)

dataset/ETHPy150Open treeio/treeio/treeio/identities/forms.py MassActionForm.__init__/original