hide search and buy form when user is not authenticated
This commit is contained in:
parent
d050ef9c13
commit
2d1b9faeca
|
@ -36,9 +36,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<form class="navbar-search pull-right">
|
{% if user.is_authenticated %}
|
||||||
|
<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…
Reference in New Issue