do not load list edit form if viewer not authenticated

This commit is contained in:
Hugh Rundle 2021-10-10 12:02:27 +11:00
parent 83f46b6cda
commit d6a5794ac3

View file

@ -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">