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

{% block content %}
    <h1>Examinations</h1>
    <div class="sbas">
        Active exams:<br/>
        <ul>
            {% for exam in exams %}
                {% if exam.active %}
                    <li>
                        <a href="{% url 'sbas:exam_start' pk=exam.pk %}">{{exam}}</a>
                    </li>
                {% endif %}
            {% endfor %}
        </ul>


    </div>
{% endblock %}