[snowy] Fix error on sync auth page (follow-up to fix for bug#614681)



commit 09ca098beb927f6bf3fc81db9cfa38caa55033b1
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Thu May 13 10:41:48 2010 -0700

    Fix error on sync auth page (follow-up to fix for bug#614681)

 notes/templates/notes/base.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/notes/templates/notes/base.html b/notes/templates/notes/base.html
index d91376b..1ab20ee 100644
--- a/notes/templates/notes/base.html
+++ b/notes/templates/notes/base.html
@@ -3,9 +3,11 @@
 {% load i18n %}
 
 {% block sidebar %}
+{% if author %}
 <form method="GET" name="searchForm" action="{% url note_search author.username %}">
     <input type="text" id="search" class="dim" name="query" accesskey="s" value="{% trans "Search your notes" %}">
 </form>
+{% endif %}
 {% endblock %}
 
 {% block extra_body %}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]