Mercurial > public > sg101
comparison gpp/messages/forms.py @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | c515b7401078 |
children | 9df368d9775d |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
18 | 18 |
19 class ComposeForm(forms.Form): | 19 class ComposeForm(forms.Form): |
20 """ | 20 """ |
21 This form is used to compose private messages. | 21 This form is used to compose private messages. |
22 """ | 22 """ |
23 receiver = forms.CharField(label='To', | 23 receiver = forms.CharField(label='To', |
24 max_length=30, | 24 max_length=30, |
25 widget=AutoCompleteUserInput()) | 25 widget=AutoCompleteUserInput()) |
26 subject = forms.CharField(max_length=120, widget=forms.TextInput(attrs={'size': 52})) | 26 subject = forms.CharField(max_length=120, widget=forms.TextInput(attrs={'size': 52})) |
27 message = forms.CharField(widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'})) | 27 message = forms.CharField(widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'})) |
28 attach_signature = forms.BooleanField(label='Attach Signature?', required=False) | 28 attach_signature = forms.BooleanField(label='Attach Signature?', required=False) |