{% extends base_template|default:'generic/exam_scores_base.html' %}

{% block table_answers %}
            {% for question in questions %}
                <tr>
                    <td><a href="{% url 'longs:mark' exam_id=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a>
                    </td>
                    {% comment %} {% for cid in cids %}
                        <td class="anatomy-ans user-answer-score-{{score_by_question|get_item:question|get_item:cid}}" title="answer score: {{score_by_question|get_item:question|get_item:cid}}">{{ans_by_question|get_item:question|get_item:cid}}</td>
                    {% endfor %} {% endcomment %}
                    {% for cid in cids %}
                        {% with by_question|get_item:question|get_item:cid as ans_score %}
                            <td class="longs-ans user-answer-score-{{ans_score.1}} col-cid-cell col-cid-{{ cid|slugify }}" title="{{ans_score.0}}" data-cid-name="{{ cids_user_id_map|get_item:cid|lower }}" data-cid-val="{{ cid|lower }}">{{ans_score.1}}</td>
                        {% endwith %}
                    {% endfor %}
                </tr>
            {% endfor %}
{% endblock table_answers %}


