Package omeroweb :: Package webadmin :: Module forms :: Class GroupForm
[hide private]
[frames] | no frames]

Class GroupForm

source code


Instance Methods [hide private]
 
__init__(self, name_check=False, *args, **kwargs) source code
 
clean_name(self) source code

Inherited from custom_forms.NonASCIIForm: full_clean

Class Variables [hide private]
  PERMISSION_CHOICES = '0', 'Private', ('1', 'Collaborative '),
  name = forms.CharField(max_length= 100, widget= forms.TextInpu...
  description = forms.CharField(max_length= 250, widget= forms.T...
  permissions = forms.ChoiceField(choices= PERMISSION_CHOICES, w...
  readonly = forms.BooleanField(required= False, label= "(read-o...
Method Details [hide private]

__init__(self, name_check=False, *args, **kwargs)
(Constructor)

source code 
Overrides: custom_forms.NonASCIIForm.__init__

Class Variable Details [hide private]

name

Value:
forms.CharField(max_length= 100, widget= forms.TextInput(attrs= {'size\
': 25, 'autocomplete': 'off'}))

description

Value:
forms.CharField(max_length= 250, widget= forms.TextInput(attrs= {'size\
': 25, 'autocomplete': 'off'}), required= False)

permissions

Value:
forms.ChoiceField(choices= PERMISSION_CHOICES, widget= forms.RadioSele\
ct(), required= True, label= "Permissions", help_text= "<div class=\"e\
rror\">WARNING: Changing Permissions will change permissions of all ob\
jects in a group. This will take some time for large groups and could \
break the server.</div>")

readonly

Value:
forms.BooleanField(required= False, label= "(read-only)")