<%= team.name %>
<% unless can? :connect, team %>
<%= t(".not_allowed") %>
<% end %>
<% if can? :connect, team %>
<% end %>
<% end %>
<% if can? :connect, team %>
<%= link_to request.url + "&team_id=#{team.id}", class: "group block hover:bg-slate-50 dark:hover:bg-slate-400 dark:text-slate-800", data: {controller: "connection-workflow", action: "connection-workflow#disableTeamButton"} do %>
<%= body %>
<% end %>
<% else %>