summaryrefslogtreecommitdiff
path: root/meetingtools/apps/room/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools/apps/room/forms.py')
-rw-r--r--meetingtools/apps/room/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meetingtools/apps/room/forms.py b/meetingtools/apps/room/forms.py
index 62b515b..0e44aea 100644
--- a/meetingtools/apps/room/forms.py
+++ b/meetingtools/apps/room/forms.py
@@ -28,8 +28,8 @@ class PrefixTextInput(TextInput):
class ModifyRoomForm(ModelForm):
class Meta:
model = Room
- fields = ['name','description','source_sco_id','self_cleaning','allow_host']
- widgets = {'source_sco_id': Select(),
+ fields = ('name','description','source_sco','self_cleaning','allow_host')
+ widgets = {'source_sco': Select(),
'description': Textarea(attrs={'rows': 4, 'cols': 50}),
'name': TextInput(attrs={'size': '40'})}