{# src/examen/templates/question.html #} {% extends "base.html" %} {% block title %}Q{{ qnum }} โ€” {{ topic_label }}{% endblock %} {% block content %}
{% include "_bead_row.html" %}

{{ topic_label }}

{{ question.prompt }}

{% for block in code_blocks %} {% with block=block %}{% include "_code_block.html" %}{% endwith %} {% endfor %}
How confident are you?

Press 1โ€“5 for confidence ยท Enter to submit

{% for n in range(1, 6) %} {% with chip_number=n, chip_label=chip_labels[n-1], chip_field_name="confidence", checked=False %} {% include "_chip.html" %} {% endwith %} {% endfor %}
{% if question.type == "mc" %}
Pick the best answer
{% for opt in question.answer.options %} {% endfor %}
{% elif question.type == "blast_radius" %}
Select every file affected โ€” at least one
{% for cand in question.answer.candidates %} {% endfor %}
{% endif %}
{% endblock %}