This commit is contained in:
Ross
2021-08-16 17:44:57 +01:00
parent 4b66ac24dd
commit 05ba86e658
7 changed files with 196 additions and 73 deletions
+3
View File
@@ -23,6 +23,9 @@ Rapids:
<a href="{% url 'rapids:rapid_view' %}">Questions</a> /
<a href="{% url 'rapids:rapid_create' %}" title="Create a new question">Create Question</a>
{% endif %}
{% if request.is_superuser %}
<a href="{% url 'rapids:user_answer_table_view' %}" title="User answers">Answers</a>
{% endif %}
{% comment %} </br>
Questions by:
<span id="authors-link"><a href="{% url 'rapids:author_list' %}">author</a></span> {% endcomment %}
@@ -3,7 +3,7 @@
{% block content %}
<ul>
{% for answer in answers %}
<li><a href="{% url 'rapids:rapid_user_answer_view' pk=answer.pk %}">{{answer}}</a></li>
<li><a href="{% url 'rapids:user_answer_view' pk=answer.pk %}">{{answer}}</a></li>
{% endfor %}
</ul>