mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 08:07:14 +00:00
reviews formatting
This commit is contained in:
parent
e0c174d990
commit
a272e2c40d
2 changed files with 13 additions and 2 deletions
|
@ -94,3 +94,10 @@ form label {
|
|||
width: 30rem;
|
||||
height: 10rem;
|
||||
}
|
||||
.review {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
small {
|
||||
display: block;
|
||||
}
|
||||
|
|
|
@ -32,8 +32,12 @@
|
|||
<p>No reviews yet!</p>
|
||||
{% endif %}
|
||||
{% for review in reviews %}
|
||||
<p><span class="review-title">{{ review.name }}</span>{{ review.rating }} stars, by {{ review.user.username }}</p>
|
||||
<p>{{ review.review_content }}</p>
|
||||
<div class="review">
|
||||
<h4>{{ review.name }}
|
||||
<small>{{ review.rating }} stars, by {{ review.user.username }}</small>
|
||||
</h4>
|
||||
<blockquote>{{ review.review_content }}</blockquote>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue