@section('optional_css') @endsection @section('optional_js') @endsection

{{ __('Banner') }}

@if(session('success')) {{ session('success') }} @endif @if(session('delete')) {{ session('delete') }} @endif {{ __('Banner') }} @can('banner.create') {{ __('Create') }} {{ __('Banner') }} @endcan
@forelse($banners as $banner) @empty @endforelse
{{ __('Title') }} {{ __('Image') }} {{ __('Link') }} {{ __('Status') }} {{ __('Action') }}
{{ $banner->title }} {{ $banner->link }} {{ $banner->publish?'Publish':'Draft' }} @can('banner.edit') {{ __('Edit') }} @endcan @can('banner.destroy')
@csrf @method('delete') {{ __('Delete') }}
@endcan
{{ __('Empty') }}
{{ $banners->links('vendor.pagination.bootstrap-4') }}