diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-07-05 13:25:47 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-07-05 13:25:47 +0200 |
commit | ecca23e67b63ef6c9577652a7ea820645a3d9b55 (patch) | |
tree | 9666b059700531f6be00ff362798b585852ea4bc /hyperkitty/views/forms.py | |
parent | df0b5fb2fb74d1dec39bca6e60b04b49619caf81 (diff) | |
download | hyperkitty-ecca23e67b63ef6c9577652a7ea820645a3d9b55.tar.gz hyperkitty-ecca23e67b63ef6c9577652a7ea820645a3d9b55.tar.xz hyperkitty-ecca23e67b63ef6c9577652a7ea820645a3d9b55.zip |
Add an attachment field to replies and new emails
Diffstat (limited to 'hyperkitty/views/forms.py')
-rw-r--r-- | hyperkitty/views/forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |