- Ajout nom de la recherche

This commit is contained in:
2025-01-29 13:06:50 +01:00
parent 52933658cf
commit ae09474b49
3 changed files with 5 additions and 6 deletions

View File

@ -1,11 +1,12 @@
{% extends 'base.html.twig' %}
{% block title %}Hello APITestController!{% endblock %}
{% block title %}{% endblock %}
{% block body %}
<div>
<h1>Recherche de livre pour {{ query }}</h1>
{% for book in datas.items %}
<div class="flex justify-center">
<div class="border rounded-xl w-1/2 py-2 flex flex-col justify-center mt-5">

View File

@ -24,11 +24,7 @@
</div>
</div>
{% if error %}
<div class="text-red-500 text-sm mt-2">
{{ error.messageKey|trans(error.messageData, 'security') }}
</div>
{% endif %}
<div class="mt-6 text-center">
<button type="submit" class="w-full px-4 py-2 bg-indigo-600 text-white font-semibold rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500">