%tr
  %td
    #{Gitlab::OAuth::Provider.label_for(identity.provider)} (#{identity.provider})
  %td
    = identity.extern_uid
  %td
    = link_to edit_admin_user_identity_path(@user, identity), class: 'btn btn-xs btn-grouped' do
      Edit
    = link_to [:admin, @user, identity], method: :delete,
      class: 'btn btn-xs btn-danger',
      data: { confirm: "Are you sure you want to remove this identity?" } do
      Delete
