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


{% block content %}

<h2>Entries</h2>
Count: <span id="count">{{ entries|length }}</span>

<table>
    <thead>
        <tr>
            <th>Exam Code</th>
            <th>Exam Name</th>
            <th>Current Format</th>
        </tr>
    </thead>
    <tbody>
{% for entry in entries %}
<tr><td><a href='{{entry.get_absolute_url}}'>{{entry.exam_code}}</a></td><td>{{entry.exam_name}}</td><td>{{entry.get_current_format}}</td></tr>
    
{% endfor %}
</table>
    

{% endblock %}

{% block css %}
<style type="text/css">
    .inactive-True a {
        color: darkred;
        text-decoration: none;
    }
    .inactive-False a {
        text-decoration: none;
    }
    </style>
{% endblock %}