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



commit c29d0c64083756282b4a67903764514480e9462f
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]