<ul class="nav nav-tabs gts-header-nav">
  <li class="pull-right dropdown<%= ' active' if active %>">
    <a href="#" class="dropdown-toggle"><i class="icon-cog"></i> Admin</a>
    <ul class="dropdown-menu">
      <li><a href="<%= edit_group_path(group) %>"><i class="icon-pencil"></i> Edit team</a></li>
      <li><a href="<%= group_path(group) %>" data-method="delete"><i class="icon-trash"></i> Delete team</a></li>
      <% if Team.can_have_members?(group) -%>
        <li><%= link_to t("views.groups.edit_memberships"), [group, :memberships] -%></li>
        <li><%= link_to t("views.memberships.add_new_member"),
                new_group_membership_path(group) -%></li>
      <% end -%>
    </ul>
  </li>
</ul>

<ul class="nav nav-tabs gts-header-nav">
  <li class="pull-right dropdown<%= ' active' if active %>">
    <a href="#" class="dropdown-toggle"><i class="icon-cog"></i> Admin</a>
    <ul class="dropdown-menu">
      <li><a href="<%= edit_group_path(group) %>"><i class="icon-pencil"></i> Edit team</a></li>
      <li><a href="<%= group_path(group) %>" data-method="delete" data-confirm="Are you sure?"><i class="icon-trash"></i> Delete team</a></li>
      <% if Team.can_have_members?(group) %>
        <li><%= link_to t("views.groups.edit_memberships"), [group, :memberships] %></li>
        <li><%= link_to t("views.memberships.add_new_member"),
                new_group_membership_path(group) %></li>
      <% end %>
    </ul>
  </li>
</ul>

Add confirmation to delete team button
Add confirmation to delete team button
