- Traitement des données de recherche
This commit is contained in:
@ -3,18 +3,11 @@
|
|||||||
{% block title %}Hello APITestController!{% endblock %}
|
{% block title %}Hello APITestController!{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<style>
|
|
||||||
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
|
|
||||||
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="example-wrapper">
|
|
||||||
<h1>Hello {{ controller_name }}! ✅</h1>
|
|
||||||
|
|
||||||
This friendly message is coming from:
|
<div>
|
||||||
<ul>
|
{% for book in datas.items %}
|
||||||
<li>Your controller at <code><a href="{{ '/var/www/html/src/Controller/APITestController.php'|file_link(0) }}">src/Controller/APITestController.php</a></code></li>
|
<h1>{{ book.volumeInfo.title }}</h1>
|
||||||
<li>Your template at <code><a href="{{ '/var/www/html/templates/api_test/index.html.twig'|file_link(0) }}">templates/api_test/index.html.twig</a></code></li>
|
{% endfor %}
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user