From ecca23e67b63ef6c9577652a7ea820645a3d9b55 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 5 Jul 2013 13:25:47 +0200 Subject: Add an attachment field to replies and new emails --- hyperkitty/views/forms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hyperkitty/views/forms.py') diff --git a/hyperkitty/views/forms.py b/hyperkitty/views/forms.py index 62175e7..034b7d9 100644 --- a/hyperkitty/views/forms.py +++ b/hyperkitty/views/forms.py @@ -103,7 +103,9 @@ class ReplyForm(forms.Form): subject = forms.CharField(label="", required=False, widget=forms.TextInput(attrs={ 'placeholder': 'New subject'})) message = forms.CharField(label="", widget=forms.Textarea) + attachment = forms.FileField(required=False) class PostForm(forms.Form): subject = forms.CharField() message = forms.CharField(widget=forms.Textarea) + attachment = forms.FileField(required=False) -- cgit