Added logic for quizz, need to connect everything

This commit is contained in:
2025-02-27 13:20:13 +01:00
parent 001ff8b5cb
commit be01c925a3
20 changed files with 500 additions and 23 deletions
+13
View File
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="fr" dir="ltr">
<head>
<div th:replace="~{html-head}"/>
</head>
<body>
<div th:replace="~{header}"/>
<main>
Youhou ! (Y devrait y avoir le form ici ^^) <span th:text="${formid}"/>
</main>
</body>
</html>
+1 -1
View File
@@ -9,7 +9,7 @@
<main>
<ul>
<li>Premier item ?</li>
<li th:each="q : ${quizz}"><a th:href="@{/questions/newform/{id}(id=${q.id})}">Quizz <span th:text="${q.name}"/></a></li>
<li th:each="q : ${quizz}"><a th:href="@{/questions/form/{id}(id=${q.id})}">Quizz <span th:text="${q.name}"/></a></li>
</ul>
</main>
</body>