- Ajout des favoris

This commit is contained in:
2025-01-30 11:37:05 +01:00
parent 2eaaa1d049
commit f6f7edcf34
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{% extends 'base.html.twig' %}
{% block title %}Mes favoris{% endblock %}
{% block body %}
<div>
{% for data in datas %}
{% if data.items is defined %}
{% for book in data.items %}
{% if book.volumeInfo.authors is defined %}
<p>{{ book.volumeInfo.title }} - {{ book.volumeInfo.authors | join(", ") }} </p>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</div>
{% endblock %}