Refactor exam take help template for improved URL handling and readability
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user