- Ajout nom de la recherche
This commit is contained in:
@ -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">
|
||||
|
@ -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">
|
||||
|
Reference in New Issue
Block a user