diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-05-02 16:02:16 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-05-02 16:02:16 +0200 |
commit | 366a134413586f3ddbf453ea1601eb1944d43d90 (patch) | |
tree | 813e5cbfab4d9923511c1a6bf5d40bdba1daefc8 /hyperkitty/templates | |
parent | 89c624457ce8cb688b899995740d824a0bb3df74 (diff) | |
download | hyperkitty-366a134413586f3ddbf453ea1601eb1944d43d90.tar.gz hyperkitty-366a134413586f3ddbf453ea1601eb1944d43d90.tar.xz hyperkitty-366a134413586f3ddbf453ea1601eb1944d43d90.zip |
Make it simple to create a new thread instead of replying
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/messages/reply_form.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/hyperkitty/templates/messages/reply_form.html b/hyperkitty/templates/messages/reply_form.html index ce31031..b0a810d 100644 --- a/hyperkitty/templates/messages/reply_form.html +++ b/hyperkitty/templates/messages/reply_form.html @@ -2,11 +2,20 @@ <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"> - <p class="reply-tools">[<a href="#" class="quote">Quote</a>]</p> <form method="post" action="{% url 'message_reply' mlist_fqdn=mlist_fqdn message_id_hash=message_id_hash %}"> {% csrf_token %} - {{ reply_form.as_p }} + <p class="reply-tools"> + <a class="btn btn-mini quote" href="#">Quote</a> + <label>{{ reply_form.newthread }} Create a new thread</label> + </p> + {{ reply_form.non_field_errors }} + {% for field in reply_form %} + {% if field.html_name != "newthread" %} + <p>{{ field }} {{ field.errors}}</p> + {% endif %} + {% endfor %} + {# { reply_form.as_p } #} <p class="buttons"> <button type="submit" class="submit btn btn-primary">Send</button> or <a class="cancel" href="#">cancel</a> |