<tal:defs tal:define="items view/tile/items;
                      uids python: view.tile.get_parent_uids();">
  <ul class="side-nav main-links vertical"
      tal:condition="items">
    <tal:items tal:repeat="item items">
      <li tal:attributes="class python: item.UID in uids and 'active' or ''">
        <a href="${item/getURL}"
           title="${item/Title}"
           tal:attributes="class python: item.UID in uids and 'active' or ''">${python: view.tile.get_label(item)}</a>
      </li>
    </tal:items>
  </ul>
</tal:defs>
