summaryrefslogtreecommitdiff
path: root/web/templates/index.html
blob: 013ef3f211aa37d290e2632c61377acede34cee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends 'base.html' %}

{% block content %}

<table class="table">
    <thead>
        <tr>
            <td>Event Name</td>
            <td>Already Responded</td>
            <td>Start Date</td>
            <td>End Date</td>
        </tr>
    </thead>
    <tbody>
        {% for event in events %}
            <tr>
                <td><a href="{% url 'event' event.id %}">{{event.name}}</a></td>
                <td>{{event.responses}}</td>
                <td>{{event.start_date|date:"m/d/Y"}}</td>
                <td>{{event.end_date|date:"m/d/Y"}}</td>
            </tr>
        {% endfor %}
    </tbody>
</table>

{% endblock %}