- Portage des fonctionnalités de la branche main
- Ajout de node et npm dans la Dockerfile - Ajout des Factories et Fixtures - Ajout de npm-install dans Make install
This commit is contained in:
19
templates/manga/index.html.twig
Normal file
19
templates/manga/index.html.twig
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Liste des mangas{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Liste des mangas</h1>
|
||||
|
||||
<ul>
|
||||
{% for manga in mangas %}
|
||||
<li>
|
||||
<a href="{{ path('manga_show', { 'mangaSlug': manga.slug }) }}">
|
||||
{{ manga.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>Aucun manga trouvé.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user