only display tag filtering form if tags exist
authorraph
Fri, 08 Oct 2010 15:56:01 +0200
changeset 315 bf61a1b40eb5
parent 314 d22bd8a85f10
child 316 a7c63de8abc5
only display tag filtering form if tags exist
src/cm/templates/site/text_list.html
--- a/src/cm/templates/site/text_list.html	Fri Oct 08 15:31:45 2010 +0200
+++ b/src/cm/templates/site/text_list.html	Fri Oct 08 15:56:01 2010 +0200
@@ -43,8 +43,9 @@
     {% endif %}
 </ul>
 
+{% if tag_list %}
 <form id="filter_form" action="." method="get">
-<table summary="{% blocktrans %}People' list{% endblocktrans %}" class="large_table">
+<table class="large_table">
 	<tr>
 		<td>
 		{% blocktrans %}Filter by tag:{% endblocktrans %} 
@@ -60,6 +61,7 @@
 	</tr>
 </table>
 </form>
+{% endif %}
 
 <script type="text/javascript">
 <!--