{% load menu_tags %} {% if menu_items %} {% for item in menu_items %} {% if item.has_children_in_menu %} {{ item.text }}