templates/results.html
changeset 7 47446e75ceea
parent 3 6d109e3804ac
child 8 636f54747018
--- a/templates/results.html	Wed Oct 26 00:37:13 2011 +0200
+++ b/templates/results.html	Wed Oct 26 00:56:32 2011 +0200
@@ -2,6 +2,9 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <body>
 
+{% if error %}
+<font color=red> {{ error }} </font>
+{% else %}
 {% for entry in entries %}
 
     {% if loop.first %}
@@ -20,5 +23,6 @@
 {% else %}
 Sorry, keine Einträge gefunden.
 {% endfor %}
+{% endif %}
 </body>
 </html>