Add fontawesome icon on sidebar menu

This commit is contained in:
Dita Aji Pratama 2024-09-26 21:28:24 +07:00
parent 9f0ba0da22
commit 981a1041f0

View File

@ -6,7 +6,7 @@
% if any(role in item['roles'] for role in user_roles):
<li class="nav-item">
<a class="nav-link text-white ${'active' if item['name'] == active_page else ''}" href="${item['href']}" target="${item['target']}">
${item['name']}
<i class="${item['icon']}"></i> ${item['name']}
</a>
</li>
% endif