source: src/main/resources/templates/questions.html@ c3268ca

main
Last change on this file since c3268ca was c3268ca, checked in by Stefan Risteski <stefanristeski2001@…>, 9 months ago

Project

The whole Project

  • Property mode set to 100644
File size: 821 bytes
Line 
1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <title th:text="${quizName}"></title>
6 <link rel="stylesheet" href="/styles.css">
7</head>
8<body>
9
10<form method="post" action="/quizSolving">
11
12
13 <div th:text="${question.getQuestiontext()}"></div>
14
15
16 <input type="radio" name="selectedChoice"
17 th:each="choice : ${choices}"
18 th:text="${choice.getChoicetext()}"
19 th:value="${choice.getChoiceid()}"
20 /><br/>
21
22
23
24
25 <input th:if="${lastQuestion==false}" type="submit" id="submitButton" th:value="Next" >
26 <input th:if="${lastQuestion==true}" type="submit" id="finishButton" th:value="Finish" >
27 <input type="reset" id="resetButton" name="reset" th:value="Clear"/>
28</form>
29
30
31</body>
32</html>
Note: See TracBrowser for help on using the repository browser.