{{ csrf_field() }}

@if(count(auth()->user()->apiKeys) > 0)

{{__("Current API Keys")}}

@foreach(auth()->user()->apiKeys as $apiKey) @endforeach
{{__("Name")}} {{__("Created")}} {{__("Last Used")}}
{{ $apiKey->name }} {{ $apiKey->created_at->format('F j, Y') }} @if(is_null($apiKey->last_used_at)){{ 'Never Used' }}@else{{ $apiKey->last_used_at->format('F j, Y') }}@endif
@else

{{__("No API Keys Created Yet.")}}

@endif