{% load menu_tags %}

<div class="menu generic">
    <ul>
        {% if i.template %}
            {% show_menu i.start_level i.end_level i.extra_inactive i.extra_active i.template %}
        {% else %}
            {% show_menu i.start_level i.end_level i.extra_inactive i.extra_active %}
        {% endif %}
    </ul>
</div>
