class BulkDelUsers(Form): accountid = MultiCheckboxField('') whatdo = RadioField('', choices=[ ( 'delete', 'delete', ), ( 'disable', 'disable', ), ( 'enable', 'enable', ), ])
class BulkDelUsers(Form): """Bulk account delete form""" accountid = MultiCheckboxField('') whatdo = RadioField('', choices=[ ( 'delete', _('delete'), ), ( 'disable', _('disable'), ), ( 'enable', _('enable'), ), ])
class BulkDelDomains(Form): """Bulk domains delete""" domainid = MultiCheckboxField('') whatdo = RadioField('', choices=[ ( 'delete', _('delete'), ), ( 'disable', _('disable'), ), ( 'enable', _('enable'), ), ])
class MailQueueProcessForm(Form): id = MultiCheckboxField('') queue_action = SelectField('', choices=QUEUE_OPTS, default='none')