{% if slides is not empty %}
    <div class="widget clearfix hidden-xs">

        <div class="widget-title">
            {{ slider_title }}
        </div><!-- end title -->

        <div class="box-slider newswidget clearfix{{ theme|default('normal') == 'gray-box' ? ' gray-box' }}">

            {% for slide in slides %}
                <a href="{{ slide.urlPath|default('javascript:void(0);') }}" class="slide{{ loop.first ? ' active' }}">
                    <div class="hl5">{{ slide.title }}</div>
                    <p>{{ slide.boxBody|default(slide.description) }}</p>
                </a>
            {% endfor %}

            <div class="item-switch clearfix">
                <a href="javascript:void(0);" class="item-button-prev">zurück</a>
                <a href="javascript:void(0);" class="item-button-next">weiter</a>
            </div>

        </div><!-- end newswidget -->

    </div><!-- end widget -->
{% endif %}