.
This commit is contained in:
@@ -8,10 +8,13 @@
|
|||||||
This exam has {{question_number}} questions.
|
This exam has {{question_number}} questions.
|
||||||
|
|
||||||
<div class="parent-help" title="Click to enable / disable the exam">
|
<div class="parent-help" title="Click to enable / disable the exam">
|
||||||
Exam active: <input type="checkbox" id="exam-active-switch" {% if exam.active %}checked{% endif %}> <span class="help-text">[When checked the exam will be available to take in the test system]</span>
|
Exam active: <input type="checkbox" id="exam-active-switch" {% if exam.active %}checked{% endif %}> <span
|
||||||
|
class="help-text">[When checked the exam will be available to take in the test system]</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="parent-help" title="Click to enable / disable the exam results">
|
<div class="parent-help" title="Click to enable / disable the exam results">
|
||||||
Publish results: <input type="checkbox" id="exam-publish-results-switch" {% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will be available on this site]</span>
|
Publish results: <input type="checkbox" id="exam-publish-results-switch"
|
||||||
|
{% if exam.publish_results %}checked{% endif %}> <span class="help-text">[When checked the exam results will
|
||||||
|
be available on this site]</span>
|
||||||
</div>
|
</div>
|
||||||
<!--<p><button><a href="{% url 'anatomy:exam_take' pk=exam.pk sk=0 %}">Click here to start</a></button></p>-->
|
<!--<p><button><a href="{% url 'anatomy:exam_take' pk=exam.pk sk=0 %}">Click here to start</a></button></p>-->
|
||||||
This exam will be available to take <a href="{% url 'sbas:exam_start' pk=exam.pk %}">here</a> (when active).
|
This exam will be available to take <a href="{% url 'sbas:exam_start' pk=exam.pk %}">here</a> (when active).
|
||||||
@@ -21,26 +24,18 @@
|
|||||||
{% for question in questions.all %}
|
{% for question in questions.all %}
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
<span>
|
||||||
{{ question.stem|safe }}
|
{{ question.stem|safe }}
|
||||||
<ol type="a" class="abcde">
|
<ol type="a" class="abcde">
|
||||||
<li>
|
<li> {{ question.a_answer|safe }} </li>
|
||||||
{{ question.a_answer|safe }}
|
<li> {{ question.b_answer|safe }} </li>
|
||||||
</li>
|
<li> {{ question.c_answer|safe }} </li>
|
||||||
<li>
|
<li> {{ question.d_answer|safe }} </li>
|
||||||
{{ question.b_answer|safe }}
|
<li> {{ question.e_answer|safe }} </li> Best answer : {{question.best_answer}}
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
{{ question.c_answer|safe }}
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
{{ question.d_answer|safe }}
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
{{ question.e_answer|safe }}
|
|
||||||
</li>
|
|
||||||
Best answer : {{question.best_answer}}
|
|
||||||
</ol>
|
</ol>
|
||||||
Category: {{ question.category }}, <a href="{% url 'sbas:question_detail' pk=question.pk %}">View</a> <a href="{% url 'admin:sbas_question_change' question.id %}">Edit</a>
|
</span>
|
||||||
|
Category: {{ question.category }}, <a href="{% url 'sbas:question_detail' pk=question.pk %}">View</a> <a
|
||||||
|
href="{% url 'admin:sbas_question_change' question.id %}">Edit</a>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user