@section('meta_title', __('Access Tokens')) @section('h1', __('Access Tokens')) {{ __('site.Create an access token') }}
@foreach($tokens as $token) @endforeach
{{ __('validation.attributes.name') }} {{ __('validation.attributes.permissions') }} {{ __('Last Used') }} {{ __('Created') }}
{{ $token->name }} @foreach($token->abilities as $ability) {{ \App\Enums\AccessTokenPermission::tryFrom($ability)?->getTitle() }}
@endforeach
{{ $token->last_used_at?->diffForHumans() ?? __('Never') }} {{ $token->created_at->diffForHumans() }}
@csrf @method('DELETE')
{{ $tokens->links() }} @push('scripts') @include('_scripts._click-confirm', ['alert' => __('Do you want to delete?')]) @endpush