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/templates | |
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/templates')
-rw-r--r-- | hyperkitty/templates/message_new.html | 2 | ||||
-rw-r--r-- | hyperkitty/templates/messages/reply_form.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/message_new.html b/hyperkitty/templates/message_new.html index 25e7c03..56d25f5 100644 --- a/hyperkitty/templates/message_new.html +++ b/hyperkitty/templates/message_new.html @@ -30,7 +30,7 @@ Create a new thread - {{ mlist.display_name|default:mlist.name|escapeemail }} - {% endif %} <div class="new-thread-form"> - <form method="post" + <form method="post" enctype="multipart/form-data" action="{% url 'message_new' mlist_fqdn=mlist.name %}"> {% csrf_token %} {{ post_form|crispy }} diff --git a/hyperkitty/templates/messages/reply_form.html b/hyperkitty/templates/messages/reply_form.html index 44dcc3a..1b722de 100644 --- a/hyperkitty/templates/messages/reply_form.html +++ b/hyperkitty/templates/messages/reply_form.html @@ -2,7 +2,7 @@ <a class="reply{% if not user.is_authenticated %} disabled" title="You must be logged-in to reply.{% endif %}" href="#">Reply</a> <div class="reply-form dropdown"> - <form method="post" + <form method="post" enctype="multipart/form-data" action="{% url 'message_reply' mlist_fqdn=mlist_fqdn message_id_hash=message_id_hash %}"> {% csrf_token %} <p class="reply-tools"> |