<% left_menu_elements.each_with_index do |item, index| %>
<%= link_to item[:url], title: item[:title] || item[:name], class:"sci--layout--menu-item", data: { e2e: "e2e-BT-leftMenu-#{item[:name].downcase}", active: item[:submenu].blank? && item[:active], disabled: current_user.teams.blank?, submenu: item[:submenu].any? } do %>
<%= item[:name].html_safe %>
<% end %>
<% if item[:submenu].any? %>
<% end %>
<% end %>