%td=link_to"Revoke",revoke_admin_user_impersonation_token_path(id: impersonation_token.id,user_id: impersonation_token.user.username),method: :put,class: "btn btn-danger pull-right",data: {confirm: "Are you sure you want to revoke this impersonation token? This action cannot be undone."}
%td=link_to"Revoke",revoke_admin_user_personal_access_token_path(id: personal_access_token.id,user_id: personal_access_token.user.username),method: :put,class: "btn btn-danger pull-right",data: {confirm: "Are you sure you want to revoke this token? This action cannot be undone."}
-else
.settings-message.text-center
This user has no active tokens.
%hr
%h5 Inactive Personal Access Tokens (#{@inactive_personal_access_tokens.length})