summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/messages
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/messages')
-rw-r--r--hyperkitty/templates/messages/reply_form.html13
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>