From 366a134413586f3ddbf453ea1601eb1944d43d90 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 2 May 2013 16:02:16 +0200 Subject: Make it simple to create a new thread instead of replying --- hyperkitty/views/forms.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hyperkitty/views/forms.py') diff --git a/hyperkitty/views/forms.py b/hyperkitty/views/forms.py index 8cd3abd..9cacad8 100644 --- a/hyperkitty/views/forms.py +++ b/hyperkitty/views/forms.py @@ -114,7 +114,10 @@ class SearchForm(forms.Form): class ReplyForm(forms.Form): - message = forms.CharField(widget=forms.Textarea, label="") + newthread = forms.BooleanField(label="", required=False) + subject = forms.CharField(label="", required=False, + widget=forms.TextInput(attrs={ 'placeholder': 'New subject'})) + message = forms.CharField(label="", widget=forms.Textarea) class PostForm(forms.Form): subject = forms.CharField() -- cgit