iv>
                            </div>
                        </div><br>
                        <a href="javascript:;" onclick='bookDetails(this)' class="btn more-details"
                            data-book-id="{{ book.book_id }}">More Details</a>
                        {% if user.is_authenticated %}
                        <div class='rating-block' id='rating-block-{{ book.book_id }}' onmouseover="rateStart(this)"
                            onclick='rateBook(this)' onmouseout='finishRate(this)'
    