--- a/src/ldt/ldt/ldt_utils/forms.py Wed Dec 14 12:22:34 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/forms.py Thu Dec 15 14:38:23 2011 +0100
@@ -20,11 +20,6 @@
model = Project
exclude = ("ldt_id", "ldt", "created_by", "changed_by", "creation_date", "modification_date", "state", "owner")
-class PermissionForm(forms.Form):
- share = forms.BooleanField(required=False, widget=forms.CheckboxInput(attrs={'class':'checkbox_group'}))
- perms = forms.CharField(required=False, widget=forms.HiddenInput(attrs={'class':'perm_field'}))
- group = forms.IntegerField(required=False, widget=forms.HiddenInput())
-
class ReindexForm(forms.Form):
contents = forms.ModelMultipleChoiceField(Content.objects.all())
index_projects = forms.BooleanField(required=False, initial=False)
@@ -44,7 +39,7 @@
class CopyProjectForm (forms.Form):
title = forms.CharField()
- group = forms.IntegerField()
+ group = forms.IntegerField(required=False)
class ContentForm(ShareForm):
iriurl = forms.CharField(max_length=1024, widget=forms.HiddenInput, required=False)