{% extends "base.html" %}

{% block content %}
<h1>DISC Personality Assessment</h1>
<form method="POST" action="{{ url_for('submit') }}">
    {% for question in questions %}
    <div class="question">
        <p>{{ question.text }}</p>
        <div class="options">
            {% for i in range(1, 6) %}
            <label>
                <input type="radio" name="q{{ question.id }}" 
                      value="{{ i }}" required>
                {{ i }}
            </label>
            {% endfor %}
        </div>
    </div>
    {% endfor %}
    <button type="submit">Get Results</button>
</form>
{% endblock %}