v>
            {% else %}
            <div class='rating-block btn' onclick="location.href='{% url 'account_signup' %}'">
                <div id='button-text'>Rate <i class="fa fa-heart" style="color:red"></i> This Book</a>
                </div>
            </div>
            {% endif %}
        </div>
        {% if forloop.counter|divisibleby:"4"  %}
    </div>
    <div class="card-deck  ">
        {% endif %}
        {% endfor %}
    </div>
</div>

<!------------------------------------------- for small