{% init callback = "defaultMoveNoteCallback" %}
{% for category, groups in groups_tuple %} {% if len(groups) == 0 %} {% continue %} {% end %}

{{category}}

{% for item in groups %}

{{item.name}} {{item.children_count}}

{% end %} {% end %}