{% load materialize_nav %}
<li class="active">
    <a class="collapsible-header waves-effect waves-teal">
        {% if navheader.icon %}
            <i class="material-icons" style="font-size: 1.5rem; float: left; padding-right: 1rem;">{{ navheader.icon }}</i>
        {% endif %}
        {{ navheader.label }}
        <i class="material-icons" style="font-size: 1.5rem; float: right; padding-right: 1rem;">arrow_drop_down</i>
    </a>
    <div class="collapsible-body">
        <ul>
            {% for item in navheader.get_nav_items %}
                {% if item.is_header %}
                    {% render_sidebar_navheader item %}
                {% else %}
                    {% render_sidebar_navitem item %}
                {% endif %}
            {% endfor %}
        </ul>
    </div>
</li>
