Commit 5d2deb71 authored by fred's avatar fred
Browse files

do not display search form to unlogged users

parent 2702906d
......@@ -38,10 +38,12 @@
<h1><a href="{% url 'home' %}">Panik DB</a></h1>
<div id="splash">
{% if %}
<form action="{% url 'haystack_search' %}">
<input type="search" name="q" placeholder="Rechercher"/>
<button class="icon-search"></button>
{% endif %}
<div id="user-links">
{% block user-links %}
Supports Markdown
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