This commit is contained in:
Ross
2021-07-08 14:56:36 +01:00
parent 2b7751c6c1
commit 3a06c0663b
@@ -31,8 +31,7 @@
<p><b>Scrapped:</b> {{ question.scrapped }} <a href="{% url 'rapids:rapid_scrap' pk=question.pk %}">(toggle)</a>
<p class="pre-whitespace">
Answers (score): {% for answer in question.answers.all %}
<span {% if answer.proposed %}class="proposed-answer" data-aid="{{answer.pk}}" data-question-type="rapid"
{% endif %}>
<span {% if answer.proposed %}class="proposed-answer" data-aid="{{answer.pk}}" data-question-type="rapid" {% endif %}>
{{ answer }} ({{answer.status}}),
</span>
{% endfor %}
@@ -63,7 +62,7 @@
{% endif %}
<details>
<summary>
<h3>Suggested answers</h3>
Suggested answers
</summary>
<ul class="suggested_answers">
{% for ans in question.get_suggested_answers %}
@@ -73,13 +72,13 @@
</details>
</div>
<details>
<details open>
<summary>
<h3>Image viewer</h3>
Image viewer
</summary>
</details>
<div id="single-dicom-viewer" class="dicom-viewer" data-images="{{ question.get_image_urls }}" data-annotations=''>
</div>
</details>
<script>
$(document).ready(function () {