{% extends 'shorts/base.html' %}

{% block content %}
    CID: {{useranswer.cid}}<br/>
    User: {{useranswer.user}}<br/>
    Exam: <a href="{% url 'shorts:exam_overview' useranswer.exam.pk %}">{{useranswer.exam}}</a><br />
    Question: <a href="{% url 'shorts:question_detail' useranswer.question.pk %}">{{useranswer.question}}</a><br />
    Answer: <pre>{{useranswer.answer}}</pre>
    Score: {{useranswer.get_answer_score}}<br/>
    <a href="{% url 'shorts:user_answer_delete' useranswer.id %}">Delete answer</a>
    <a href="{% url 'admin:shorts_useranswer_change' useranswer.id %}">Admin Edit</a>
{% endblock content %}
