Refactor exam take help template for improved URL handling and readability

This commit is contained in:
Ross
2026-02-02 16:54:38 +00:00
parent 168a4126d3
commit 04174484b1
+3 -5
View File
@@ -4,12 +4,10 @@
<p>Each question contains a list of 5 different statements. One of these is the single BEST answer.</p>
<p>Click on the correct statement to select it. Once selected it will be highlighted. </p>
<p>Your answers are saved when navigating between questions (or if the save button is clicked on the final question). An overview of all the questions can be seen by clicking on the overview button.</p>
<p>Results are also available on the results page
<a target="_blank" href="
{% if cid %}
{% url 'sbas:exam_scores_cid_user' pk=exam.pk cid=cid passcode=passcode %}
{% url 'sbas:exam_scores_cid_user' pk=exam.pk cid=cid passcode=passcode as scores_url %}
{% else %}
{% url 'sbas:exam_scores_user' pk=exam.pk %}
{% url 'sbas:exam_scores_user' pk=exam.pk as scores_url %}
{% endif %}
">here</a>.</p>
<p>Results are also available on the results page <a target="_blank" href="{{ scores_url }}">here</a>.</p>
</details>