{% if messages and not page.children.count %} {% endif %} {% include "admin/cms/page/tree/menu_item.html" %}