{% extends 'base.html' %} {% block content %}

{{ assessment.title }}

{{ assessment.description|default:"Answer the questions below carefully." }}

Duration: {{ assessment.duration_minutes }} mins

Professional Exam Proctoring

This exam is monitored using browser activity and camera access. By continuing, you consent to on-screen and webcam monitoring.

Do not switch tabs or applications during the exam. Switching browsers or leaving the exam window may trigger automatic submission.

{% csrf_token %}
Time left: --:--
{% if questions %}
{% for question in questions %}

{{ forloop.counter }}. {{ question.prompt }}

{{ question.get_question_type_display }}
{% with normalized_question_type=question.question_type|lower %} {% if normalized_question_type == 'mcq' or normalized_question_type == 'multiple_choice' or normalized_question_type == 'multiple-choice' or normalized_question_type == 'multiple choice' %} {% for option in question.options_list %}
{% endfor %} {% elif normalized_question_type == 'true_false' or normalized_question_type == 'true/false' or normalized_question_type == 'true-false' or normalized_question_type == 'true false' %}
{% elif normalized_question_type == 'short_answer' or normalized_question_type == 'short-answer' or normalized_question_type == 'short answer' %} {% else %} You can include formulas such as 2x + 3 = 7 or A = πr². {% endif %} {% endwith %}
{% endfor %}
Question 1 of {{ questions|length }}
{% else %}
No questions have been added to this assessment yet.
{% endif %}
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}