forked from mirrors/bookwyrm
do not load list edit form if viewer not authenticated
This commit is contained in:
parent
83f46b6cda
commit
d6a5794ac3
1 changed files with 2 additions and 1 deletions
|
@ -22,10 +22,11 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
{% if request.user.is_authenticated %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% include 'lists/create_form.html' with controls_text="create_list" %}
|
{% include 'lists/create_form.html' with controls_text="create_list" %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
<nav class="tabs">
|
<nav class="tabs">
|
||||||
|
|
Loading…
Reference in a new issue