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 %}
|
||||||
<span class="brand balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span>
|
<form class="navbar-search pull-right">
|
||||||
<input placeholder="Suche und kaufe..." class="search-query autocomplete"
|
<span class="brand balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span>
|
||||||
type="search" name="search_term" value="Lade Daten..."
|
<input placeholder="Suche und kaufe..." class="search-query autocomplete"
|
||||||
disabled="disabled" />
|
type="search" name="search_term" value="Lade Daten..."
|
||||||
</form>
|
disabled="disabled" />
|
||||||
|
</form>
|
||||||
|
{% endif %}
|
Loading…
Reference in New Issue