<li th:fragment="submenu(submenu, parent, pos)"
th:each="entry : ${submenu}"
th:with="
<li th:fragment="submenu(submenu, parent, pos)"
th:each="entry : ${submenu}"
th:with="
selected=${!leaf and crumbs.get(pos) == entry},
active=${entry == uri},
sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
childs=${entry == parent ? null : _childs.get(entry)}
"
class="s sub"
selected=${!leaf and crumbs.get(pos) == entry},
active=${entry == uri},
sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
childs=${entry == parent ? null : _childs.get(entry)}
"
class="s sub"