Switched getting files with axios request to the api platform.

This commit is contained in:
krzysiej
2022-06-09 14:42:47 +02:00
parent 00820715ea
commit 67e970183f
5 changed files with 14 additions and 11 deletions

View File

@@ -20,7 +20,7 @@
<h1>{{ book.title }}</h1>
<h3>{{ book.subtitle }}</h3>
<p>{{ book.author }}</p>
<p>{% for i in range(1, book.rating) %}{% endfor %}</p>
<p>{% if book.rating %}{% for i in range(1, book.rating) %}{% endfor %}{% endif %}</p>
</div>
</div>