From 0a85c0854b93b66f9494466dfb728b95afdc49a9 Mon Sep 17 00:00:00 2001 From: barillote Date: Thu, 3 Apr 2025 17:19:38 +0200 Subject: [PATCH] faq page --- templates/faq/index.html.twig | 52 ++++++++--------------------------- 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/templates/faq/index.html.twig b/templates/faq/index.html.twig index 50d60f1..fa9f05f 100644 --- a/templates/faq/index.html.twig +++ b/templates/faq/index.html.twig @@ -1,53 +1,25 @@ {% extends 'base.html.twig' %} -{% block title %}Liste des FAQs{% endblock %} +{% block title %}FAQ{% endblock %} {% block body %}
-

Liste des FAQs

+

FAQ

-
- - - - - - - - - - - {% for faq in faqs %} - - - - - - - {% endfor %} - -
QuestionRéponseDenrnière modifActions
{{ faq.question }}{{ faq.answer }}{{ faq.updateDate|date("d-m-y") }} - - Voir - - - - Modifier - - -
- - - -
-
+
+ {% for faq in faqs %} +
+

Question : {{ faq.question }}

+

Dernière modification : {{ faq.updateDate|date("d-m-y") }}

+

Réponse : {{ faq.answer }}

+
+
+ {% endfor %}