@extends('admin.layouts.app') @section('title', __('admin.banned_emails.title')) @section('content') @if($errors->any())
@endif
@if(($bannedEmails ?? collect())->isEmpty())
{{ __('admin.banned_emails.no_banned') }}
@else @foreach($bannedEmails as $ban) @endforeach
{{ __('admin.banned_emails.email_domain') }}{{ __('admin.banned_emails.reason') }}{{ __('admin.banned_emails.banned_on') }}{{ __('common.table.actions') }}
{{ $ban->domain }} {{ $ban->reason ?: '—' }} {{ $ban->created_at->format(date_fmt()) }}
@csrf @method('DELETE')
@endif
@endsection