Commit 5d2deb71 authored by fred's avatar fred

do not display search form to unlogged users

parent 2702906d
......@@ -38,10 +38,12 @@
<h1><a href="{% url 'home' %}">Panik DB</a></h1>
</div>
<div id="splash">
{% if user.id %}
<form action="{% url 'haystack_search' %}">
<input type="search" name="q" placeholder="Rechercher"/>
<button class="icon-search"></button>
</form>
{% endif %}
</div>
<div id="user-links">
{% block user-links %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment