-from django.forms.fields import CharField
+from django.forms.fields import CharField, BooleanField
from django.forms.widgets import Textarea
from threadedcomments.forms import ThreadedCommentForm
from xerxes.tools.forms import ContextModelForm
class AdminInfluenceCommentForm(ThreadedCommentForm):
comment = CharField(widget=Textarea(attrs={'cols' : 80}))
+ is_public = BooleanField(required=False, initial=False)
def __init__(self, *args, **kwargs):
super(AdminInfluenceCommentForm, self).__init__(*args, **kwargs)