hide search and buy form when user is not authenticated

master
Konrad Mohrfeldt 12 years ago
parent d050ef9c13
commit 2d1b9faeca

@ -36,9 +36,11 @@
{% endif %} {% endif %}
</ul> </ul>
{% if user.is_authenticated %}
<form class="navbar-search pull-right"> <form class="navbar-search pull-right">
<span class="brand balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span> <span class="brand balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span>
<input placeholder="Suche und kaufe..." class="search-query autocomplete" <input placeholder="Suche und kaufe..." class="search-query autocomplete"
type="search" name="search_term" value="Lade Daten..." type="search" name="search_term" value="Lade Daten..."
disabled="disabled" /> disabled="disabled" />
</form> </form>
{% endif %}
Loading…
Cancel
Save