Proper fix for 8f05de700

This commit is contained in:
Raphael Michel
2021-06-15 13:55:40 +02:00
parent 8f05de7004
commit 4d945cf1e3

View File

@@ -18,7 +18,7 @@
<div class="col-sm-4 col-xs-12 text-center">
<select name="month" class="form-control">
{% for m in subevent_list.months %}
<option value="{{ m|date:"m" }}" {% if m == subevent_list.date %}selected{% endif %}>{{ m|date:"F" }}</option>
<option value="{{ m|date:"m" }}" {% if m.month == subevent_list.date.month %}selected{% endif %}>{{ m|date:"F" }}</option>
{% endfor %}
</select>
<select name="year" class="form-control">