This commit is contained in:
Ross
2021-01-25 15:45:47 +00:00
parent 933800e9c4
commit 35517a971f
2 changed files with 16 additions and 1 deletions
+15
View File
@@ -1,6 +1,21 @@
{% extends 'rapids/base.html' %}
{% block content %}
{% if exam %}
<div>
{% if previous > -1 %}
<a href="{% url 'anatomy:exam_question_detail' exam.id previous %}">Previous question</a>
{% endif %}
This question is part of exam: {{exam.name}} [{{pos}}/{{exam_length}}]
{% if next %}
<a href="{% url 'anatomy:exam_question_detail' exam.id next %}">Next question</a>
{% endif %}
</div>
{% endif %}
<a href="{% url 'rapids:rapid_update' pk=rapid.pk %}" title="Edit the Rapid">Edit</a>
<a href="{% url 'rapids:rapid_clone' pk=rapid.pk %}" title="Clone the Rapid (duplicate everything but the images)">Clone</a>
<a href="{% url 'rapids:rapid_add_note' pk=rapid.pk %}"> Add Note</a>
+1 -1
View File
@@ -1038,7 +1038,7 @@ def exam_question_detail(request, pk, sk):
return render(
request,
"rapids/question_detail.html",
"rapids/rapid_detail.html",
{
"question": question,
"exam": exam,