@csrf @method('PUT')
@csrf @method('PUT')
{!! __mc('You can use tokens to authenticate with the Mailcoach API. You\'ll find more info in our docs.', [ 'docsUrl' => 'https://mailcoach.app/docs' ]) !!}
@csrf
@error('emails')

{{ $message }}

@enderror
@if ($newToken)

{{ __mc('We will display this token only once. Make sure to copy it to a safe place.') }}

@endif @if (count($tokens)) @foreach($tokens as $token) @endforeach
{{ __mc('Name') }} {{ __mc('Last used at') }}
{{ $token->name }} {{ $token->last_used_at ?? 'Not used yet' }} {{ ($this->deleteTokenAction)(['token' => $token->id]) }}
@endif