<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hálózatok Quiz</title>
    <link rel="shortcut icon" href="{{ url_for('static', filename='images/home/logo.jpg') }}" type="image/x-icon">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/quizes.css') }}">
</head>
<body>
    <div class="container">
        <h1>Question {{ question_index + 1 }} / 20</h1>
        <p class="question">{{ question['question'] }}</p>
        <form method="POST" action="{{ url_for('vallalati_informacios_rendszerek.submit_answer') }}">
            <div class="answer-options">
                <input type="radio" id="true-option" name="answer" value="I">
                <label for="true-option">True</label>
        
                <input type="radio" id="false-option" name="answer" value="H">
                <label for="false-option">False</label>
            </div>
            <input type="hidden" name="question_index" value="{{ question_index }}">
            <input type="submit" value="Next" class="submit-button">
        </form>
        <form method="GET" action="{{ url_for('vallalati_informacios_rendszerek.result') }}">
            <button type="submit" class="submit-button quit-button">Quit</button>
        </form>        
    </div>    
</body>
</html>
