This commit is contained in:
Ross
2021-08-16 14:26:34 +00:00
parent 471e1acd2f
commit 7b5458202a
4 changed files with 24 additions and 0 deletions
@@ -22,6 +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>
{% endif %}
{% include 'rapids/question_display_block.html' %}
{% endblock %}
@@ -0,0 +1,10 @@
{% extends 'rapids/base.html' %}
{% block content %}
<ul>
{% for answer in answers %}
<li><a href="{% url 'rapids:rapid_user_answer_view' pk=answer.pk %}">{{answer}}</a></li>
{% endfor %}
</ul>
{% endblock %}