hide search and buy form when user is not authenticated
This commit is contained in:
parent
d050ef9c13
commit
2d1b9faeca
|
@ -36,9 +36,11 @@
|
|||
{% endif %}
|
||||
</ul>
|
||||
|
||||
<form class="navbar-search pull-right">
|
||||
<span class="brand balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span>
|
||||
<input placeholder="Suche und kaufe..." class="search-query autocomplete"
|
||||
type="search" name="search_term" value="Lade Daten..."
|
||||
disabled="disabled" />
|
||||
</form>
|
||||
{% if user.is_authenticated %}
|
||||
<form class="navbar-search pull-right">
|
||||
<span class="brand balance">Kontostand: {{ user.get_profile.balance|floatformat:2 }} €</span>
|
||||
<input placeholder="Suche und kaufe..." class="search-query autocomplete"
|
||||
type="search" name="search_term" value="Lade Daten..."
|
||||
disabled="disabled" />
|
||||
</form>
|
||||
{% endif %}
|
Loading…
Reference in New Issue