Get book page to work while not logged in.
This commit is contained in:
parent
ea735fd570
commit
b58a362df2
2 changed files with 43 additions and 28 deletions
|
@ -25,6 +25,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if request.user.is_authenticated %}
|
||||
<div class="content-container">
|
||||
<h2>Leave a review</h2>
|
||||
<form class="review-form" name="review" action="/review/" method="post">
|
||||
|
@ -38,6 +39,7 @@
|
|||
<div class="content-container tabs">
|
||||
{% include 'snippets/tabs.html' with tabs=feed_tabs active_tab=active_tab path=path %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if not reviews %}
|
||||
<div class="content-container">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue