fix wrong class in template

This commit is contained in:
bkfox 2017-01-15 16:18:13 +01:00
parent 5c9edeb5b8
commit 53e475a700

View File

@ -30,7 +30,7 @@
{% endif %} {% endif %}
{% for day, list in object_list %} {% for day, list in object_list %}
<ul class="panel {% if day == nav_dates.date %}class="today"{% endif %}" <ul class="panel {% if day == nav_dates.date %}today{% endif %}"
{% if day == nav_dates.date %}selected{% endif %} {% if day == nav_dates.date %}selected{% endif %}
data-date="{{day|date:"Y-m-d"}}"> data-date="{{day|date:"Y-m-d"}}">
{# you might like to hide it by default -- this more for sections #} {# you might like to hide it by default -- this more for sections #}