Compare commits
2 Commits
01d208394d
...
52933658cf
Author | SHA1 | Date | |
---|---|---|---|
52933658cf | |||
173503e34a |
@ -11,7 +11,10 @@
|
|||||||
<div class="border rounded-xl w-1/2 py-2 flex flex-col justify-center mt-5">
|
<div class="border rounded-xl w-1/2 py-2 flex flex-col justify-center mt-5">
|
||||||
<h1 class="font-bold p-2 text-2xl ">{{ book.volumeInfo.title }}</h1>
|
<h1 class="font-bold p-2 text-2xl ">{{ book.volumeInfo.title }}</h1>
|
||||||
|
|
||||||
<img src="https://img.freepik.com/vecteurs-libre/vecteur-modele-cadre-courbe-bleu-ceruleen_53876-136094.jpg" class="p-2" style="width: 20%" height="20px">
|
{% if book.volumeInfo.imageLinks is defined and book.volumeInfo.imageLinks.smallThumbnail is defined %}
|
||||||
|
<img src="{{ book.volumeInfo.imageLinks.smallThumbnail }}" class="p-2" style="width: 20%" height="20px">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -67,6 +67,11 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{{ form_end(form) }}
|
{{ form_end(form) }}
|
||||||
|
{% if error %}
|
||||||
|
<div class="text-red-500 text-sm mt-2">
|
||||||
|
{{ error.messageKey|trans(error.messageData, 'security') }}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user