@props([ 'user', 'bans' => [], ]) @php /** @var \App\Models\User\User $user */ /** @var \App\Models\User\Ban[] $bans */ @endphp @if(count($bans) <= 0)
The User currently has no Bans.
@else
@foreach($bans as $ban)

Database-ID: {{ $ban->id }}

@csrf
{{ $ban->ban_reason }}
*Timezone is UTC+2 (Europe/Berlin)
Save Delete
@endforeach
@endif
Add {{ count($bans) <= 0 ? '' : 'another' }} Ban