diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-10-11 12:42:06 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-10-11 12:42:06 +0200 |
commit | 3524d1bd8e88a9e981c1ff042a7a49e60ec21636 (patch) | |
tree | 27c8fadbd336c1f6d2571fbdc19725790fd7a998 /hyperkitty/templates/threads | |
parent | cdbd62dd4ed95ed90f3a3c702aabb3e36432dab0 (diff) | |
download | hyperkitty-3524d1bd8e88a9e981c1ff042a7a49e60ec21636.tar.gz hyperkitty-3524d1bd8e88a9e981c1ff042a7a49e60ec21636.tar.xz hyperkitty-3524d1bd8e88a9e981c1ff042a7a49e60ec21636.zip |
Improve the 'add tag' form
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r-- | hyperkitty/templates/threads/right_col.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 836da75..4534dae 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -30,6 +30,7 @@ <hr id="grey"/> <div id="tags"> <span id="tag_title">tags </span>({{tags|length}}) + {% if tags|length %} <ul class="inline"> {% for tag in tags %} <li> @@ -37,14 +38,12 @@ </li> {% endfor %} </ul> + {% endif %} </div> <div id="add_tag"> <form id="add_tag_form" name="addtag" action="{% url add_tag mlist_fqdn=list_address, email_id=threadid %}" method="post"> {% csrf_token %} {{ addtag_form.as_p }} - <button type="submit"> - Add a tag - </button> </form> </div> <div id="participants"> |