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

{% block title %}
{{ calendar.name }}
{% endblock title %}

{% block calendarmenu %}
<div class="collapse navbar-collapse" id="navbarSupportedContent">
  <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    <li class="nav-item"><a class="nav-link" href="{% url 'listtimespans' calendar.slug %}">{{ calendar.name }}</a></li>
    <li class="nav-item"><a class="nav-link" href="{% url 'createtimespan' request.resolver_match.kwargs.calendar %}">Add timespan</a></li>
  </ul>
</div>
{% endblock calendarmenu %}
