From 1557b2ca6b60e4f29ce6b187ca4d6c806aa7cb9a Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 09:42:30 +0200 Subject: multiline text --- src/meetingtools/apps/room/forms.py | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src/meetingtools') diff --git a/src/meetingtools/apps/room/forms.py b/src/meetingtools/apps/room/forms.py index 1906922..143551a 100644 --- a/src/meetingtools/apps/room/forms.py +++ b/src/meetingtools/apps/room/forms.py @@ -35,7 +35,10 @@ class ModifyRoomForm(BetterModelForm): ('properties',{'fields': ['self_cleaning','urlpath','source_sco_id'], 'classes': ['step'], 'legend': 'Step 2: Room properties', - 'description': 'These are basic properties for your room. If you set your room to be self-cleaning it will be reset every time the last participant leaves the room.'}), + 'description': ''' + These are basic properties for your room. If you set your room to be cleaned up after use it will + be reset every time the last participant leaves the room.''' + }), ] widgets = {'source_sco_id': Select(), 'urlpath': PrefixTextInput(attrs={'size': '15'}), @@ -45,6 +48,7 @@ class ModifyRoomForm(BetterModelForm): class CreateRoomForm(BetterModelForm): access = ChoiceField(choices=(('public','Public'),('private','Private'))) + class Meta: model = Room fields = ['name','urlpath','access','self_cleaning'] @@ -56,7 +60,21 @@ class CreateRoomForm(BetterModelForm): ('properties',{'fields': ['self_cleaning','urlpath','access'], 'classes': ['step'], 'legend': 'Step 2: Room properties', - 'description': 'These are basic properties for your room. If you set your room to clean-up after use it will be reset every time the last participant leaves the room. If you create a public room it will be open to anyone who has the room URL. If you create a private room then guests will have to be approved by an active meeting host before being able to join the room.'}), + 'description': ''' +

These are basic properties for your room. If you set your room to cleaned up after + use it will be reset every time the last participant leaves the room. If you create a public room it + will be open to anyone who has the room URL. If you create a private room then guests will have to be + approved by an active meeting host before being able to join the room.

+ +
+
+

+ Warning Setting a room to be cleaned up when empty will cause all existing content + associated with the to be destroyed each time the room is reset.

+
+
+ ''' + }), ] widgets = {'access': RadioSelect(), 'urlpath': PrefixTextInput(attrs={'size': '15'}), -- cgit v1.1