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

{% block table_answers %}
    {% for question in questions %}
        <tr>
            <td>Question {{forloop.counter}}
            </td>
            {% for cid in cids %}
                <td class="col-cid-cell col-cid-{{ cid|slugify }}" data-cid-name="{{ cids_user_id_map|get_item:cid|lower }}" data-cid-val="{{ cid|lower }}">
                    <ol class="physics-ans" style="list-style-type: lower-alpha;">
                        {% with by_question|get_item:question|get_item:cid as ans_score %}
                            {% for ans, score in ans_score %}
                                <li class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</li>
                            {% endfor %}
                        {% endwith %}
                    </ol>
                </td>
            {% endfor %}
        </tr>
    {% endfor %}

{% endblock %}

