Merge pull request #936 from joachimesque/patch-2

Restrict list creation form to authenticated users
This commit is contained in:
Mouse Reeve 2021-04-14 11:28:14 -07:00 committed by GitHub
commit 1e96191414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,10 +15,12 @@
{% endif %}
</h1>
</div>
{% if request.user.is_authenticated %}
<div class="column is-narrow">
{% trans "Create List" as button_text %}
{% include 'snippets/toggle/open_button.html' with controls_text="create-list" icon="plus" text=button_text focus="create-list-header" %}
</div>
{% endif %}
</header>
<div class="block">