forked from mirrors/bookwyrm
Merge pull request #936 from joachimesque/patch-2
Restrict list creation form to authenticated users
This commit is contained in:
commit
1e96191414
1 changed files with 2 additions and 0 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue