This commit is contained in:
Ross
2021-08-16 14:30:44 +00:00
parent 7b5458202a
commit b9fe5c03f5
2 changed files with 6 additions and 4 deletions
@@ -2,7 +2,9 @@
{% extends 'rapids/base.html' %}
{% block content %}
{{ciduseranswer.question}}
{{ciduseranswer.normal}}
{{ciduseranswer.cid}}
CID: {{ciduseranswer.cid}}<br/>
{{ciduseranswer.question}}<br/>
Normal: {{ciduseranswer.normal}}<br/>
Answer: {{ciduseranswer.answer}}<br/>
<a href="{% url 'rapids:rapid_user_answer_delete' exam.id next %}">Delete answer</a>
{% endblock content %}
+1 -1
View File
@@ -22,7 +22,7 @@
<a href="{% url 'rapids:rapid_add_note' pk=question.pk %}"> Add Note</a>
{% if request.user.is_superuser %}
<a href="{% url 'admin:rapids_rapid_change' question.id %}" title="Edit the Rapid using the admin interface">Admin Edit</a>
<a href="{% url 'rapids:question_user_answers' question.id %}" title="Edit the Rapid using the admin interface">Admin Edit</a>
<a href="{% url 'rapids:question_user_answers' question.id %}" title="View user answers associated with this question">User answers</a>
{% endif %}
{% include 'rapids/question_display_block.html' %}
{% endblock %}