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 | 270ac090732ee3a42e595d9d04d75b944fc2181c (patch) | |
| tree | 27c8fadbd336c1f6d2571fbdc19725790fd7a998 /hyperkitty/templates/threads/right_col.html | |
| parent | 37ff508a20036e29775e9784cecf9d6ee9a360c5 (diff) | |
Improve the 'add tag' form
Diffstat (limited to 'hyperkitty/templates/threads/right_col.html')
| -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"> |
