{% extends 'layout.html' %} {% load fr_display %} {% block content %}

{{ book.data.title }}

by {{ book.authors.first.data.name }} {{ rating | stars }} {{ rating }}
{{ book.data.description }}

Leave a review

{% csrf_token %} {{ review_form.as_p }}

Reviews

{% if not reviews %}

No reviews yet!

{% endif %} {% for review in reviews %}

{{ review.name }} {{ review.rating | stars }} stars, by {{ review.user.username }}

{{ review.review_content }}
{% endfor %}
{% endblock %}