diff gpp/comments/forms.py @ 134:b8474ffe76d9

Cutting comments over to the new common way of using markItUp and getting the extra smiley and markdown help dialogs.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 00:39:50 +0000
parents 2d299909e074
children 88b2b9cb8c1f
line wrap: on
line diff
--- a/gpp/comments/forms.py	Fri Nov 27 00:21:47 2009 +0000
+++ b/gpp/comments/forms.py	Fri Nov 27 00:39:50 2009 +0000
@@ -14,7 +14,7 @@
     comment = forms.CharField(label='',
             min_length=1, 
             max_length=COMMENT_MAX_LENGTH,
-            widget=forms.Textarea)
+            widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'}))
     content_type = forms.CharField(widget=forms.HiddenInput)
     object_pk = forms.CharField(widget=forms.HiddenInput)