Fixes logged out list view
This commit is contained in:
parent
5939a72c81
commit
fd9b98d443
3 changed files with 12 additions and 3 deletions
|
@ -48,7 +48,7 @@
|
|||
{% endif %}
|
||||
</section>
|
||||
|
||||
{% if not list.curation == 'closed' or request.user == list.user %}
|
||||
{% if request.user.is_authenticated and not list.curation == 'closed' or request.user == list.user %}
|
||||
<section class="column is-one-quarter content">
|
||||
<h2>{% if list.curation == 'open' or request.user == list.user %}Add{% else %}Suggest{% endif %} Books</h2>
|
||||
<form name="search" action="{% url 'list' list.id %}" method="GET" class="block">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue