{% load aldryn_events %}

<div class="aldryn aldryn-events aldryn-events-calendar">
    {% if plugin_configuration_error %}
        {% if request.user.is_staff or request.user.is_superuser %}
            <p class="config-errors">{{ plugin_configuration_error }}</p>
        {% endif %}
    {% else %}
        {% calendar event_year event_month namespace=calendar_namespace %}
    {% endif %}
</div>
