{{ __('Ban / Unban') }}

@can('ban', $user) @if ($isBanned) {{-- Currently banned --}}

{{ __('Utilizator banat') }}

@if ($banReason)

{{ $banReason }}

@endif @if ($user->banned_at)

{{ $user->banned_at->format('d.m.Y H:i') }}

@endif
@else {{-- Not banned --}} @if (!$showConfirm) @else
@error('banReason')

{{ $message }}

@enderror
@endif @endif @else

{{ __('Nu aveți permisiunea de a bana utilizatori.') }}

@endcan