{% endblock %}
{% block leftnav %}
{% include "cosinnus_event/leftnav.html" %}
{% endblock leftnav %}
{% block content %}
{% if not request.user or not request.user.is_authenticated %}
{% include "cosinnus/not_logged_in_alert.html" %}
{% endif %}
{% include 'cosinnus/common/filter_controls.html' %}
{% if request.user and request.user.is_authenticated %}
{% endif %}
{% for event in object_list %}
{% include "cosinnus_event/list_object.html" %}
{% empty %}
{% include 'cosinnus/common/empty_button.html' with message="There are no open event polls." %}
{% endfor %}