@extends('admin.layouts.app') @section('title', __('admin.banned_ips.title')) @section('content')
@if(($bannedIps ?? collect())->isEmpty())
{{ __('admin.banned_ips.no_banned') }}
@else @foreach($bannedIps as $ban) @endforeach
{{ __('common.table.ip_address') }}{{ __('admin.banned_ips.reason') }}{{ __('admin.banned_ips.banned_on') }}{{ __('admin.banned_ips.expires') }}{{ __('common.table.actions') }}
{{ $ban->ip }} {{ $ban->reason ?: '—' }} {{ $ban->created_at->format('d M Y H:i') }} {{ $ban->expires_at?->format('d M Y H:i') ?? __('admin.banned_ips.never') }}
ip }}?')"> @csrf @method('DELETE')
@endif
@endsection