{% extends "base.html" %}{% load static %}
{% block title %} {{ title }}{% endblock %}
{% block page_heading %}Schedule{% endblock %}
{% block content %}
{% load tz %}
    <div class="table-responsive">
    <table class="table table-striped table-sm">
{#    <thead>#}
{#    </thead>#}
    <tbody>
    {% for event in events %}
        <tr>
        <td>
            <a href="{% url 'teamsnap_event' id=event.data.id team_id=schedule.html %}">{{ event.data.formatted_title }}</a>
        </td>
        <td>
            {{ event.data.start_date | localtime}}
        </td>
        <td>
            {{ event.data.location_name }}
        </td>
        </tr>
    {% endfor %}
    </tbody>
    </table>
    </div>
{% endblock %}