diff gpp/bio/forms.py @ 133:c515b7401078

Use the new common way to apply markItUp to textareas and to get the smiley and markdown help dialogs for all the remaining apps except for forums and comments.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 00:21:47 +0000
parents f8f4514b806a
children ab7830b067b3
line wrap: on
line diff
--- a/gpp/bio/forms.py	Thu Nov 26 22:51:07 2009 +0000
+++ b/gpp/bio/forms.py	Fri Nov 27 00:21:47 2009 +0000
@@ -32,6 +32,10 @@
     interests = forms.CharField(required=False, widget=forms.TextInput(attrs={'size' : 64 }))
     time_zone = forms.CharField(required=False, widget=forms.HiddenInput())
     use_24_time = forms.BooleanField(label='Show times in 24-hour mode', required=False)
+    profile_text = forms.CharField(required=False, 
+            widget=forms.Textarea(attrs={'class': 'markItUp'}))
+    signature = forms.CharField(required=False, 
+            widget=forms.Textarea(attrs={'class': 'markItUp'}))
 
     class Meta:
         model = UserProfile